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

Fixed bug: Error in Create project from backup for Standard 3D Annotation #4160

Merged
merged 13 commits into from
Jan 20, 2022

Conversation

Marishka17
Copy link
Contributor

@Marishka17 Marishka17 commented Jan 13, 2022

Motivation and context

Resolve #4105

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.
  • I have updated the license header for each file (see an example below)
# Copyright (C) 2022 Intel Corporation
#
# SPDX-License-Identifier: MIT

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
Copy link
Contributor

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
Copy link
Contributor

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.

Copy link
Contributor Author

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...

Copy link
Contributor

@nmanovic nmanovic left a comment

Choose a reason for hiding this comment

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

LGTM

@nmanovic nmanovic merged commit c7fcd3a into develop Jan 20, 2022
@nmanovic nmanovic deleted the mk/fix branch January 20, 2022 07:32
@nmanovic nmanovic mentioned this pull request Mar 4, 2022
7 tasks
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.

Error in Create project from backup for Standard 3D Annotation
2 participants