We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5523d48 commit 446ece4Copy full SHA for 446ece4
superannotate/db/project_images.py
@@ -183,9 +183,9 @@ def _copy_images(
183
annotations = get_image_annotations(
184
(source_project, source_project_folder), image_name
185
)
186
- if annotations["annotation_json"] is not None and annotations[
187
- "annotation_mask"] is not None:
188
- if "annotation_mask" in annotations:
+ if annotations["annotation_json"] is not None:
+ if "annotation_mask" in annotations and annotations[
+ "annotation_mask"] is not None:
189
upload_image_annotations(
190
(destination_project, destination_project_folder),
191
image_name, annotations["annotation_json"],
0 commit comments