-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fixed bug: Error in Create project from backup for Standard 3D Annotation #4160
Conversation
cvat/apps/engine/task.py
Outdated
for idx in range(len(media_files)): | ||
properties = manifest[manifest_index(idx)] | ||
|
||
# FIXME it's bad solution because a manifest file can contain more files then were uploaded |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Marishka17 , what are we going to do with the comment?
raise ValueError('Incorrect width field') | ||
if not isinstance(_dict['height'], int): | ||
raise ValueError('Incorrect height field') | ||
# FIXME |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Marishka17 , the same question. What are we going to do with the comment? It looks like we disable two checks which can be important for 2D case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nmanovic, yes, but these checks are only relevant for the first element of the manifest file, and the reliability will drop a bit...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Motivation and context
Resolve #4105
How has this been tested?
Checklist
develop
branch- [ ] I have updated the documentation accordingly- [ ] I have increased versions of npm packages if it is necessary (cvat-canvas,cvat-core, cvat-data and cvat-ui)
License
Feel free to contact the maintainers if that's a concern.