Learning-loop-node

Latest version: v0.13.0

Safety actively analyzes 688792 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 25

0.13.0

Detector SIO Interface:
- Add endpoints to control versioning mode and get current versioning info (`set_model_version_mode`, `get_model_version`)
- Add endpoints to get `about` info (same response as the corresponding REST endpoint)
- Add endpoints to control outbox mode (`get_outbox_mode`, `set_outbox_mode`)
- **Breaking change**: All SIO responses are now dicts. This affects the response of the `info` endpoint which now returns `{"status": "No model loaded"}` if no model is loaded.

All Nodes:
- Changes of the node status are now logged with level INFO

Further Breaking Changes:
- Enums are moved to own module

0.12.1

Improvements:

- Handle 429 (too many requests). When communicating with a learning loop instance via the REST interface the server may respond with 429 when it has to handle too many requests. We extended the loop communication module (used by all nodes) with a retry mechanism to retry the call several times with a delay between all attempts.

0.12.0

Trainer Loop Communication Changes:

- No longer send redundant fields (like the `hyperparameters`, ... ) with trainer updates (they are send with the training updates)
- Change type of `hyperparameters` to a dict.
- Add fields trainer_name and best_epoch to DC TrainingOut - used to sync the training

Trainer - Internal Changes:

- Removes the internal DC `TrainingData` and moves its fields (`image_data`, `categories`, `skipped_image_count`, `hyperparameter`) to the `Training` dataclass

0.11.1

Fixes:

- fixes a field name when using custom creation date

0.11.0

Detector Feature:

- When running inference using a detector node, the user is now able to provide a custom creation date which will be used as creation date when the image is uploaded to the learning loop

Breaking Change for Multiple Node Types:

- The data class `Detections` is now split into:
- `Detections` - used by the Trainer Node to upload detections for existing images after training is finished
- `ImageMetadata` - used by the Detector when uploading a pair of image, image metadata and detections

0.10.17

Detector fix:

- Don't set log level of outbox logger to debug

Page 1 of 25

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.