Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix skeleton tracks #6075

Merged
merged 29 commits into from
May 26, 2023
Merged

Fix skeleton tracks #6075

merged 29 commits into from
May 26, 2023

Conversation

sizov-kirill
Copy link
Contributor

@sizov-kirill sizov-kirill commented Apr 26, 2023

Motivation and context

Currently, we don't have validation of incoming annotations, as a result, there is exist some cases when annotations successfully saved in DB, but it's impossible to export them. In order to successfully export a dataset with a skeleton track it's required that each track satisfy the following condition:
{frame number of track} == {frame number of parent track} == {frame number of the first shape of the track}

This PR adds an additional step during saving annotation in DB. This additional step check that all these there "frame numbers" are equal and try to automatically fix it's not true.

How has this been tested?

Checklist

  • I submit my changes into the develop branch
  • I have added a description of my changes into the CHANGELOG file
    - [ ] I have updated the documentation accordingly
  • I have added tests to cover my changes
    - [ ] I have linked related issues (see GitHub docs)
    - [ ] I have increased versions of npm packages if it is necessary
    (cvat-canvas,
    cvat-core,
    cvat-data and
    cvat-ui)

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.

@nmanovic
Copy link
Contributor

@kirill-sizov , why did cvat_data.tar.bz2 grow in 3 times?

@sizov-kirill
Copy link
Contributor Author

@kirill-sizov , why did cvat_data.tar.bz2 grow in 3 times?

Fixed

@nmanovic nmanovic merged commit 9b38f3e into develop May 26, 2023
@azhavoro azhavoro mentioned this pull request Jun 2, 2023
nmanovic added a commit that referenced this pull request Jun 2, 2023
## \[2.4.5] - 2023-06-02
### Added
- Integrated support for sharepoint and cloud storage files, along with
directories to be omitted during task creation (server)
(<#6074>)
- Enabled task creation with directories from cloud storage or
sharepoint (<#6074>)
- Enhanced task creation to support any data type supported by the
server
by default, from cloud storage without the necessity for the `use_cache`
option (<#6074>)
- Added capability for task creation with data from cloud storage
without the `use_cache` option
(<#6074>)

### Changed
- User can now access resource links from any organization or sandbox,
granted it's available to them
(<#5892>)
- Cloud storage manifest files have been made optional
(<#6074>)
- Updated Django to the 4.2.x version
(<#6122>)
- Renamed certain Nuclio functions to adhere to a common naming
convention. For instance,
`onnx-yolov7` -> `onnx-wongkinyiu-yolov7`, `ultralytics-yolov5` ->
`pth-ultralytics-yolov5`
  (<#6140>)

### Deprecated
- Deprecated the endpoint `/cloudstorages/{id}/content`
(<#6074>)

### Fixed
- Fixed the issue of skeletons dumping on created tasks/projects
(<#6157>)
- Resolved an issue related to saving annotations for skeleton tracks
(<#6075>)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Boris Sekachev <boris.sekachev@yandex.ru>
Co-authored-by: Roman Donchenko <roman@cvat.ai>
Co-authored-by: Maria Khrustaleva <maya17grd@gmail.com>
Co-authored-by: Boris Sekachev <sekachev.bs@gmail.com>
Co-authored-by: Nikita Manovich <nikita@cvat.ai>
Co-authored-by: Anastasia Yasakova <yasakova_anastasiya@mail.ru>
Co-authored-by: Snyk bot <snyk-bot@snyk.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kirill Sizov <kirill.sizov@cvat.ai>
Co-authored-by: Paweł Kotiuk <kotiuk@zohomail.eu>
Co-authored-by: SK <450723+senthilkumarkj@users.noreply.github.com>
Co-authored-by: Kirill Lakhov <kirill.9992@gmail.com>
@bsekachev bsekachev deleted the sk/fix-skeleton-tracks branch June 28, 2023 08:33
mikhail-treskin pushed a commit to retailnext/cvat that referenced this pull request Jul 1, 2023
Currently, we don't have validation of incoming annotations, as a
result, there is exist some cases when annotations successfully saved in
DB, but it's impossible to export them. In order to successfully export
a dataset with a skeleton track it's required that each track satisfy
the following condition:
` {frame number of track} == {frame number of parent track} == {frame
number of the first shape of the track}`

This PR adds an additional step during saving annotation in DB. This
additional step check that all these there "frame numbers" are equal and
try to automatically fix it's not true.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants