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 project import with skeletons #4867

Merged
merged 27 commits into from
Sep 28, 2022
Merged

Fix project import with skeletons #4867

merged 27 commits into from
Sep 28, 2022

Conversation

yasakova-anastasia
Copy link
Contributor

@yasakova-anastasia yasakova-anastasia commented Aug 26, 2022

Motivation and context

Depends on #4984

  • Small fixes for backups (an issue with same sublabels)
  • Fixed project import with skeletons

How has this been tested?

Checklist

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.

@yasakova-anastasia yasakova-anastasia changed the title [WIP][Dependent] Fix project import with skeletons Fix project import with skeletons Sep 15, 2022
@yasakova-anastasia yasakova-anastasia marked this pull request as ready for review September 15, 2022 08:00
@yasakova-anastasia yasakova-anastasia changed the title Fix project import with skeletons [Dependent] Fix project import with skeletons Sep 15, 2022
@cvat-ai cvat-ai deleted a comment from github-actions bot Sep 19, 2022
@yasakova-anastasia yasakova-anastasia changed the title [Dependent] Fix project import with skeletons Fix project import with skeletons Sep 19, 2022
@cvat-ai cvat-ai deleted a comment from github-actions bot Sep 19, 2022
@sizov-kirill
Copy link
Contributor

@yasakova-anastasia For fixing full check, need to merge develop branch, because it has critical changes

@sizov-kirill
Copy link
Contributor

/check

@github-actions
Copy link
Contributor

github-actions bot commented Sep 21, 2022

❌ Some checks failed
📄 See logs here

@cvat-ai cvat-ai deleted a comment from github-actions bot Sep 22, 2022
@cvat-ai cvat-ai deleted a comment from github-actions bot Sep 22, 2022
@yasakova-anastasia
Copy link
Contributor Author

/check

@github-actions
Copy link
Contributor

github-actions bot commented Sep 22, 2022

✔️ All checks completed successfully
📄 See logs here

Copy link
Contributor

@sizov-kirill sizov-kirill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have one bug on my side, here is steps to reproduce.

  1. Create project with skeleton
  2. Create task in project with video
  3. Add skeleton track
  4. Go to the frame with number last_frame - 10
  5. Mark one point of skeleton as outside on this frame
  6. Save annotations
  7. Export dataset for project (save_images = True)
  8. Import exported dataset

Result: An outside property is not appeared in an imported task

@yasakova-anastasia
Copy link
Contributor Author

@kirill-sizov, thanks. Fixed.

@sizov-kirill
Copy link
Contributor

/check

@github-actions
Copy link
Contributor

github-actions bot commented Sep 26, 2022

❌ Some checks failed
📄 See logs here

@sizov-kirill
Copy link
Contributor

/check

@github-actions
Copy link
Contributor

github-actions bot commented Sep 26, 2022

✔️ All checks completed successfully
📄 See logs here

@sizov-kirill
Copy link
Contributor

Full check can be considered as green for this PR, the reason why is was red currently unknown, but I've created issue about this problem.

Copy link
Contributor

@sizov-kirill sizov-kirill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functionality works fine (in develop environment) , code changes looks good to me.

And I want to mention two things:

  1. Need to fix project export (KeyError) in separate PR;
  2. Currently CVAT format it's really hard to support, this contains 1.3k lines of code, a lot of code duplication, almost 200 if statements. It's hard to review and difficult to extend. I think if we planing to extend this format in future with new shapes or something else we should to refactor cvat.py first.

@@ -41,6 +41,7 @@ In annotation mode each image tag has `width` and `height` attributes for the sa
<attributes>
<attribute>
<name>String: attribute name</name>
<type>String: any, bbox, cuboid, cuboid_3d, ellipse, polygon, polyline, points, skeleton, tag</type>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it for attributes? I believe it is a type for the label itself.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, thanks

@nmanovic
Copy link
Contributor

/check

@github-actions
Copy link
Contributor

github-actions bot commented Sep 27, 2022

❌ Some checks failed
📄 See logs here

@nmanovic nmanovic merged commit fd666d0 into develop Sep 28, 2022
@nmanovic nmanovic deleted the ay/fix-dataset-import branch September 28, 2022 06:20
@nmanovic nmanovic mentioned this pull request Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants