learning-loop-node 0.27.0__py3-none-any.whl → 0.27.1__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.
@@ -386,6 +386,11 @@ class TrainerLogicGeneric(ABC):
386
386
 
387
387
  self.training.image_data = image_data
388
388
  self.training.skipped_image_count = skipped_image_count
389
+ for set_name, images in (('train', self.training.train_images()),
390
+ ('test', self.training.test_images()),
391
+ ('validation', self.training.val_images())):
392
+ if not images:
393
+ raise CriticalError(f'The training has no {set_name} images')
389
394
 
390
395
  async def _download_model(self) -> None:
391
396
  """If training is continued, the model is downloaded from the Learning Loop to the training_folder.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: learning_loop_node
3
- Version: 0.27.0
3
+ Version: 0.27.1
4
4
  Summary: Python Library for Nodes which connect to the Zauberzeug Learning Loop
5
5
  Author-email: Zauberzeug GmbH <info@zauberzeug.com>
6
6
  License: MIT
@@ -59,13 +59,13 @@ learning_loop_node/trainer/metrics.py,sha256=H1jQh5fHN3-cTdMTuH8mF_uODV0T9DBdqcP
59
59
  learning_loop_node/trainer/subprocess.py,sha256=WxuTly0zhpClEjTd9wqoI_-7YTNMaiZpRHxu00vttKw,2647
60
60
  learning_loop_node/trainer/test_executor.py,sha256=6BVGDN_6f5GEMMEvDLSG1yzMybSvgXaP5uYpSfsVPP0,2224
61
61
  learning_loop_node/trainer/trainer_logic.py,sha256=x15bEy7uTfaGGHGYRGUl2olMeL0x0QW0vlu8nXZOaGg,9769
62
- learning_loop_node/trainer/trainer_logic_generic.py,sha256=j_SBUejnZZqxvwzrNzwS1XifscaKwxlbnMJczzIETdA,31154
62
+ learning_loop_node/trainer/trainer_logic_generic.py,sha256=mDTcGXXHqoXkqJNsYU8yNixBxIq9piBqHDvE9KlTC8U,31483
63
63
  learning_loop_node/trainer/trainer_node.py,sha256=GU4LyFA-JC9s4d-PbyKhKWyGMMIzTMqKJFNxM6tDJE4,5316
64
64
  learning_loop_node/trainer/training_slot.py,sha256=Njq6Z0T2Lqlr24ftoIp11Pw2OxCo9Z2RGn1tuFhHqLY,6737
65
65
  learning_loop_node/trainer/validation_set.py,sha256=3gyqw88jadYRYDTUZVsaE0o5LGShmqaJykjr0sdNLJo,2907
66
66
  learning_loop_node/trainer/rest/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
67
67
  learning_loop_node/trainer/rest/backdoor_controls.py,sha256=bCjrQvqtgd2DtyYNgftkcDe9AFHExFLtfdW_jISLwuk,5026
68
- learning_loop_node-0.27.0.dist-info/METADATA,sha256=6U988q8DyrBZ1fVd6Dcoqm3wWQuXglUbQ-jiORrbsuE,20317
69
- learning_loop_node-0.27.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
70
- learning_loop_node-0.27.0.dist-info/top_level.txt,sha256=nS5qiFc4stVF_VXVCVJxZnrqVOv3IGX5-_E3sLby6OE,19
71
- learning_loop_node-0.27.0.dist-info/RECORD,,
68
+ learning_loop_node-0.27.1.dist-info/METADATA,sha256=bv0ofwadIpn6gVRH8K6zFuPh64IokrH-Cxi-UvcePwE,20317
69
+ learning_loop_node-0.27.1.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
70
+ learning_loop_node-0.27.1.dist-info/top_level.txt,sha256=nS5qiFc4stVF_VXVCVJxZnrqVOv3IGX5-_E3sLby6OE,19
71
+ learning_loop_node-0.27.1.dist-info/RECORD,,