learning-loop-node 0.10.11__py3-none-any.whl → 0.10.12__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.

Potentially problematic release.


This version of learning-loop-node might be problematic. Click here for more details.

@@ -101,6 +101,12 @@ class DataExchanger():
101
101
 
102
102
  paths, _ = create_resource_paths(self.context.organization, self.context.project, new_image_uuids)
103
103
  num_new_image_ids = len(new_image_uuids)
104
+ if num_new_image_ids == 0:
105
+ logging.info('All images are already downloaded. Nothing to do.')
106
+ self.progress = 1.0
107
+ return
108
+
109
+ logging.info(f'Downloading {num_new_image_ids} new images to {image_folder}..')
104
110
  os.makedirs(image_folder, exist_ok=True)
105
111
 
106
112
  progress_factor = 0.5 / num_new_image_ids # second 50% of progress is for downloading images
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: learning-loop-node
3
- Version: 0.10.11
3
+ Version: 0.10.12
4
4
  Summary: Python Library for Nodes which connect to the Zauberzeug Learning Loop
5
5
  Home-page: https://github.com/zauberzeug/learning_loop_node
6
6
  License: MIT
@@ -8,7 +8,7 @@ learning_loop_node/data_classes/detections.py,sha256=1BcU5PNzIbryWcj2xJ6ysLBTBwG
8
8
  learning_loop_node/data_classes/general.py,sha256=Bd0ngYhYvS_9OYOO6lAKEnDzLuSdPmR4I2YV-0DRsxs,4694
9
9
  learning_loop_node/data_classes/socket_response.py,sha256=tIdt-oYf6ULoJIDYQCecNM9OtWR6_wJ9tL0Ksu83Vko,655
10
10
  learning_loop_node/data_classes/training.py,sha256=hnMHZMk-WNRERyo7U97qL09v1tIdhnzPfTH-JgifLwU,6164
11
- learning_loop_node/data_exchanger.py,sha256=bAozCSGcUGx9VedGI3KP0s2w5S1gFIYm58gAS7cMebA,8661
11
+ learning_loop_node/data_exchanger.py,sha256=U_MrBKSq1MbBwBmjrjxoIo_7xV4Lcwtk6uZDIgmhT_4,8914
12
12
  learning_loop_node/detector/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
13
  learning_loop_node/detector/detector_logic.py,sha256=se0jRFbV7BfTvCuCI3gcUllSYIZ5dxTkvdISe6pPTRg,1660
14
14
  learning_loop_node/detector/detector_node.py,sha256=v7hX06HuBtS4LiqlqOxDBaJlqkJanHQ4mrdjc4fVwDQ,18282
@@ -88,6 +88,6 @@ learning_loop_node/trainer/test_executor.py,sha256=6BVGDN_6f5GEMMEvDLSG1yzMybSvg
88
88
  learning_loop_node/trainer/trainer_logic.py,sha256=PJxiO1chPdvpq8UTtzv_nVam9CouCswX9b1FnRwT2Tw,8411
89
89
  learning_loop_node/trainer/trainer_logic_generic.py,sha256=AzllMMiUPP_CMkjIVqse8wY50Cg5RDnk5y5ERVUjtZg,25801
90
90
  learning_loop_node/trainer/trainer_node.py,sha256=dIptgXTwBC_bnPo-U2sG_zDaaqZixY7FA0dPt7P2Lps,5261
91
- learning_loop_node-0.10.11.dist-info/METADATA,sha256=4IVvGgmNH8Iu_f4EIEpZKc0xGwKTzL-st8GNjM2YDPk,11702
92
- learning_loop_node-0.10.11.dist-info/WHEEL,sha256=WGfLGfLX43Ei_YORXSnT54hxFygu34kMpcQdmgmEwCQ,88
93
- learning_loop_node-0.10.11.dist-info/RECORD,,
91
+ learning_loop_node-0.10.12.dist-info/METADATA,sha256=CskPsSnBXkMeNHiPOewq2UAN0qAMazghb7ReZvlBKGI,11702
92
+ learning_loop_node-0.10.12.dist-info/WHEEL,sha256=WGfLGfLX43Ei_YORXSnT54hxFygu34kMpcQdmgmEwCQ,88
93
+ learning_loop_node-0.10.12.dist-info/RECORD,,