supervisely 6.73.340__py3-none-any.whl → 6.73.341__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- supervisely/api/image_api.py +5 -2
- {supervisely-6.73.340.dist-info → supervisely-6.73.341.dist-info}/METADATA +1 -1
- {supervisely-6.73.340.dist-info → supervisely-6.73.341.dist-info}/RECORD +7 -7
- {supervisely-6.73.340.dist-info → supervisely-6.73.341.dist-info}/LICENSE +0 -0
- {supervisely-6.73.340.dist-info → supervisely-6.73.341.dist-info}/WHEEL +0 -0
- {supervisely-6.73.340.dist-info → supervisely-6.73.341.dist-info}/entry_points.txt +0 -0
- {supervisely-6.73.340.dist-info → supervisely-6.73.341.dist-info}/top_level.txt +0 -0
supervisely/api/image_api.py
CHANGED
|
@@ -2245,7 +2245,7 @@ class ImageApi(RemoveableBulkModuleApi):
|
|
|
2245
2245
|
if len(ids) == 0:
|
|
2246
2246
|
return
|
|
2247
2247
|
|
|
2248
|
-
existing_images = self.get_list(dst_dataset_id)
|
|
2248
|
+
existing_images = self.get_list(dst_dataset_id, force_metadata_for_links=False)
|
|
2249
2249
|
existing_names = {image.name for image in existing_images}
|
|
2250
2250
|
|
|
2251
2251
|
ids_info = self.get_info_by_id_batch(ids, force_metadata_for_links=False)
|
|
@@ -2271,7 +2271,8 @@ class ImageApi(RemoveableBulkModuleApi):
|
|
|
2271
2271
|
"names intersection"
|
|
2272
2272
|
)
|
|
2273
2273
|
|
|
2274
|
-
|
|
2274
|
+
img_metas = [info.meta or {} for info in ids_info]
|
|
2275
|
+
new_images = self.upload_ids(dst_dataset_id, new_names, ids, progress_cb, metas=img_metas)
|
|
2275
2276
|
new_ids = [new_image.id for new_image in new_images]
|
|
2276
2277
|
|
|
2277
2278
|
if with_annotations:
|
|
@@ -2356,12 +2357,14 @@ class ImageApi(RemoveableBulkModuleApi):
|
|
|
2356
2357
|
raise RuntimeError("len(dst_names) != len(src_image_infos)")
|
|
2357
2358
|
new_names = dst_names
|
|
2358
2359
|
|
|
2360
|
+
img_metas = [info.meta or {} for info in src_image_infos]
|
|
2359
2361
|
src_ids = [info.id for info in src_image_infos]
|
|
2360
2362
|
new_images = self.upload_ids(
|
|
2361
2363
|
dst_dataset_id,
|
|
2362
2364
|
new_names,
|
|
2363
2365
|
src_ids,
|
|
2364
2366
|
progress_cb,
|
|
2367
|
+
metas=img_metas,
|
|
2365
2368
|
batch_size=batch_size,
|
|
2366
2369
|
force_metadata_for_links=False,
|
|
2367
2370
|
infos=src_image_infos,
|
|
@@ -28,7 +28,7 @@ supervisely/api/dataset_api.py,sha256=GH7prDRJKyJlTv_7_Y-RkTwJN7ED4EkXNqqmi3iIdI
|
|
|
28
28
|
supervisely/api/file_api.py,sha256=bVWv6kf3B5n6qlB14HmUa6iUr8ara5cr-pPK8QC7XWg,92932
|
|
29
29
|
supervisely/api/github_api.py,sha256=NIexNjEer9H5rf5sw2LEZd7C1WR-tK4t6IZzsgeAAwQ,623
|
|
30
30
|
supervisely/api/image_annotation_tool_api.py,sha256=YcUo78jRDBJYvIjrd-Y6FJAasLta54nnxhyaGyanovA,5237
|
|
31
|
-
supervisely/api/image_api.py,sha256=
|
|
31
|
+
supervisely/api/image_api.py,sha256=MIs4hVOy0J7o7KHF2aHt3V9noin5Lr2q4HGOIz5ONMw,192578
|
|
32
32
|
supervisely/api/import_storage_api.py,sha256=BDCgmR0Hv6OoiRHLCVPKt3iDxSVlQp1WrnKhAK_Zl84,460
|
|
33
33
|
supervisely/api/issues_api.py,sha256=BqDJXmNoTzwc3xe6_-mA7FDFC5QQ-ahGbXk_HmpkSeQ,17925
|
|
34
34
|
supervisely/api/labeling_job_api.py,sha256=VM1pjM65cUTeer1hrI7cSmCUOHJb7fzK6gJ-abA07hg,55097
|
|
@@ -1082,9 +1082,9 @@ supervisely/worker_proto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
|
|
|
1082
1082
|
supervisely/worker_proto/worker_api_pb2.py,sha256=VQfi5JRBHs2pFCK1snec3JECgGnua3Xjqw_-b3aFxuM,59142
|
|
1083
1083
|
supervisely/worker_proto/worker_api_pb2_grpc.py,sha256=3BwQXOaP9qpdi0Dt9EKG--Lm8KGN0C5AgmUfRv77_Jk,28940
|
|
1084
1084
|
supervisely_lib/__init__.py,sha256=7-3QnN8Zf0wj8NCr2oJmqoQWMKKPKTECvjH9pd2S5vY,159
|
|
1085
|
-
supervisely-6.73.
|
|
1086
|
-
supervisely-6.73.
|
|
1087
|
-
supervisely-6.73.
|
|
1088
|
-
supervisely-6.73.
|
|
1089
|
-
supervisely-6.73.
|
|
1090
|
-
supervisely-6.73.
|
|
1085
|
+
supervisely-6.73.341.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
1086
|
+
supervisely-6.73.341.dist-info/METADATA,sha256=1CoprezNuu8F9RHjpci14MSHrSqIsxBLfOZolC6GNyM,33596
|
|
1087
|
+
supervisely-6.73.341.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
|
1088
|
+
supervisely-6.73.341.dist-info/entry_points.txt,sha256=U96-5Hxrp2ApRjnCoUiUhWMqijqh8zLR03sEhWtAcms,102
|
|
1089
|
+
supervisely-6.73.341.dist-info/top_level.txt,sha256=kcFVwb7SXtfqZifrZaSE3owHExX4gcNYe7Q2uoby084,28
|
|
1090
|
+
supervisely-6.73.341.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|