supervisely 6.73.455__py3-none-any.whl → 6.73.457__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.
@@ -810,11 +810,11 @@ class InferenceImageCache:
810
810
  for hash_or_id in batch:
811
811
  name = name_constructor(hash_or_id)
812
812
  self._wait_if_in_queue(name, logger)
813
-
813
+ pos_by_name[name] = position
814
814
  if name not in self._cache and video_id not in self._cache:
815
815
  self._load_queue.set(name, hash_or_id)
816
816
  ids_to_load.append(hash_or_id)
817
- pos_by_name[name] = position
817
+
818
818
  elif return_images is True:
819
819
  items.append((position, hash_or_id))
820
820
  position += 1
@@ -4584,6 +4584,7 @@ def upload_project(
4584
4584
  blob_file_infos = []
4585
4585
 
4586
4586
  for ds_fs in project_fs.datasets:
4587
+ logger.debug(f"Processing dataset: {ds_fs.name}")
4587
4588
  if len(ds_fs.parents) > 0:
4588
4589
  parent = f"{os.path.sep}".join(ds_fs.parents)
4589
4590
  parent_id = dataset_map.get(parent)
@@ -4624,8 +4625,15 @@ def upload_project(
4624
4625
  if os.path.isfile(path):
4625
4626
  valid_indices.append(i)
4626
4627
  valid_paths.append(path)
4627
- else:
4628
+ elif len(project_fs.blob_files) > 0:
4628
4629
  offset_indices.append(i)
4630
+ else:
4631
+ if img_infos[i] is not None:
4632
+ logger.debug(f"Image will be uploaded by image_info: {names[i]}")
4633
+ else:
4634
+ logger.warning(
4635
+ f"Image and image info file not found, image will be skipped: {names[i]}"
4636
+ )
4629
4637
  img_paths = valid_paths
4630
4638
  ann_paths = list(filter(lambda x: os.path.isfile(x), ann_paths))
4631
4639
  # Create a mapping from name to index position for quick lookups
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: supervisely
3
- Version: 6.73.455
3
+ Version: 6.73.457
4
4
  Summary: Supervisely Python SDK.
5
5
  Home-page: https://github.com/supervisely/supervisely
6
6
  Author: Supervisely
@@ -905,7 +905,7 @@ supervisely/nn/benchmark/visualization/widgets/sidebar/sidebar.py,sha256=tKPURRS
905
905
  supervisely/nn/benchmark/visualization/widgets/table/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
906
906
  supervisely/nn/benchmark/visualization/widgets/table/table.py,sha256=atmDnF1Af6qLQBUjLhK18RMDKAYlxnsuVHMSEa5a-e8,4319
907
907
  supervisely/nn/inference/__init__.py,sha256=QFukX2ip-U7263aEPCF_UCFwj6EujbMnsgrXp5Bbt8I,1623
908
- supervisely/nn/inference/cache.py,sha256=Gdpdfo61j5lxhMVR6YyqXjazJxQxihtKwLPqwVwzFRM,35599
908
+ supervisely/nn/inference/cache.py,sha256=byR1T9pr4ogKz4xOyOomRvxW4tuQqlZniTZy9HA7BY4,35595
909
909
  supervisely/nn/inference/inference.py,sha256=71E5_DG5He2y9TWu2YN8P9MWz0EwldGJa_7pK6pVp7E,207512
910
910
  supervisely/nn/inference/inference_request.py,sha256=1Tq-OV7bYtr0bKDqvBXh72wpR5Misgk-iQn5waCxtqo,14830
911
911
  supervisely/nn/inference/session.py,sha256=f2Tyvj21oO9AKxqr6_yHZ81Ol-wXC-h5cweTHEoljkg,35796
@@ -1055,7 +1055,7 @@ supervisely/project/data_version.py,sha256=P5Lui6i64pYeJWmAdGJDv8GRXxjfpSSZ8zT_M
1055
1055
  supervisely/project/download.py,sha256=yCFpRum_q8fbY_z2mcRAhYAcYFcDc215ldioO3Gzg3Q,28680
1056
1056
  supervisely/project/pointcloud_episode_project.py,sha256=f7kbsXRI1XedKQd3inmq4j3PNsab3q4xyb_RHqFthmI,48563
1057
1057
  supervisely/project/pointcloud_project.py,sha256=YBtv7Lh1ivXCgpM59MiXJGgqxfdehDeD87Fe1tOHVR0,57011
1058
- supervisely/project/project.py,sha256=Xl_L_dRJp0KZJMioabXWGO2Zt1X6dl2W9v4-Zt66zYs,246561
1058
+ supervisely/project/project.py,sha256=_t5481q_F_U0LcCgw4fF5N3NJZwoebkOCOdfM1V1dVw,247005
1059
1059
  supervisely/project/project_meta.py,sha256=UTQPstRmRJvbtCcQ1noCtzcw3Sd4llwRMHes-Sz-JQg,51429
1060
1060
  supervisely/project/project_settings.py,sha256=NLThzU_DCynOK6hkHhVdFyezwprn9UqlnrLDe_3qhkY,9347
1061
1061
  supervisely/project/project_type.py,sha256=7mQ7zg6r7Bm2oFn5aR8n_PeLqMmOaPZd6ph7Z8ZISTw,608
@@ -1129,9 +1129,9 @@ supervisely/worker_proto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
1129
1129
  supervisely/worker_proto/worker_api_pb2.py,sha256=VQfi5JRBHs2pFCK1snec3JECgGnua3Xjqw_-b3aFxuM,59142
1130
1130
  supervisely/worker_proto/worker_api_pb2_grpc.py,sha256=3BwQXOaP9qpdi0Dt9EKG--Lm8KGN0C5AgmUfRv77_Jk,28940
1131
1131
  supervisely_lib/__init__.py,sha256=yRwzEQmVwSd6lUQoAUdBngKEOlnoQ6hA9ZcoZGJRNC4,331
1132
- supervisely-6.73.455.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
1133
- supervisely-6.73.455.dist-info/METADATA,sha256=K-GHALSmc3eZrjE6ekVhuaMf8cRf-2Zj7ebGcFP3nsE,35480
1134
- supervisely-6.73.455.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
1135
- supervisely-6.73.455.dist-info/entry_points.txt,sha256=U96-5Hxrp2ApRjnCoUiUhWMqijqh8zLR03sEhWtAcms,102
1136
- supervisely-6.73.455.dist-info/top_level.txt,sha256=kcFVwb7SXtfqZifrZaSE3owHExX4gcNYe7Q2uoby084,28
1137
- supervisely-6.73.455.dist-info/RECORD,,
1132
+ supervisely-6.73.457.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
1133
+ supervisely-6.73.457.dist-info/METADATA,sha256=9l2CDS4I2Fv3WNjm5BlVPo_-mBg4_Y8idrebwTvKmfU,35480
1134
+ supervisely-6.73.457.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
1135
+ supervisely-6.73.457.dist-info/entry_points.txt,sha256=U96-5Hxrp2ApRjnCoUiUhWMqijqh8zLR03sEhWtAcms,102
1136
+ supervisely-6.73.457.dist-info/top_level.txt,sha256=kcFVwb7SXtfqZifrZaSE3owHExX4gcNYe7Q2uoby084,28
1137
+ supervisely-6.73.457.dist-info/RECORD,,