Sahi

Latest version: v0.11.18

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

Scan your dependencies

Page 15 of 15

0.3.1

* fix a sliced prediction bug happening on small images

0.3.0

Major Updates
- refactorize main predict function:
bash
python scripts/predict.py --visual --source image/file/or/folder --model_path path/to/model --config_path path/to/config

will export predictions visuals to `runs/predict/exp` folder.
If you want to export prediction pickles and cropped predictions add `--pickle` and `--crop` arguments.
- add option to export coco json:
bash
python scripts/predict.py --coco_file path/to/coco/file --source coco/images/directory --model_path path/to/model --config_path path/to/config

will perform inference using provided coco file, then export results as a coco json file to `runs/predict/exp/results.json`
- add script for coco2yolov5 conversion:
bash
python scripts/coco2yolov5.py --coco_file path/to/coco/file --source coco/images/directory --train_split 0.9

will convert given coco dataset to yolov5 format and export to `runs/coco2yolov5/exp` folder .

Minor Updates
- add export_format to crop_object_predictions
- fix coco annotation serialization
- more generic coco handling
- add option to export visuals
- update ci/package testing workflows

0.2.5

* fix cli argument

* fix function argument

* add export format selection

0.2.4

- add coco to yolo conversion utility

0.2.3

- added merger for single predictions

0.2.0

- match_iou_thr is configurable
- better time profiling

Page 15 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.