Releases: obss/sahi
Releases · obss/sahi
v0.8.10
What's Changed
- improve mmdet config download util by @fcakyon in #278
- update version to v0.8.10 by @fcakyon in #279
- add zenodo doi and citation into readme by @fcakyon in #280
- fix broken link in readme by @fcakyon in #277
- fix mmcv installation in readme by @fcakyon in #281
Full Changelog: 0.8.9...0.8.10
v0.8.9
What's Changed
-
add
get_coco_with_clipped_bboxesutility to coco class by @ssahinnkadir in #264 -
update torch, torchvision, mmdet, mmcv versions in tests by @fcakyon in #267
Full Changelog: 0.8.8...0.8.9
v0.8.8
v0.8.6
v0.8.5
bugfixes, enhancements
v0.8.4
- handle predictions with negative bbox values (#225)
- fix remove_invalid_coco_results (#227)
- fix coco evaluation (#228)
Remove invalid coco results:
from sahi.utils.file import save_json
from sahi.utils.coco import remove_invalid_coco_results
# remove invalid predictions from COCO results JSON
coco_results = remove_invalid_coco_results("coco_result.json")
# export processed COCO results
save_json(coco_results, "fixed_coco_result.json")
# bonus: remove invalid predictions from COCO results JSON by giving COCO
# dataset path to also filter out bbox results exceeding image height&width
coco_results = remove_invalid_coco_results("coco_result.json", "coco_dataset.json")v0.8.3
v0.8.2
v0.8.1
v0.8.0
new cli description:
| Command | Description |
|---|---|
| predict | perform sliced/standard prediction using any yolov5/mmdet model |
| predict-fiftyone | perform sliced/standard prediction using any yolov5/mmdet model and explore results in fiftyone app |
| coco slice | automatically slice COCO annotation and image files |
| coco fiftyone | explore multiple prediction results on your COCO dataset ordered by false positives |
| coco evaluate | evaluate classwise COCO AP and AR for given predictions and ground truth |
| coco analyse | calcualate and export many detection and segmentation error margin plots |
| coco yolov5 | automatically convert any COCO dataset to yolov5 format |
new cli usage:
predict
sahi predict --source image/file/or/folder --model_path path/to/model --model_config_path path/to/configpredict-fiftyone
sahi predict-fiftyone --image_dir image/file/or/folder --dataset_json_path dataset.json --model_path path/to/model --model_config_path path/to/configcoco slice
sahi coco slice --image_dir dir/to/images --dataset_json_path dataset.jsoncoco fiftyone
sahi coco fiftyone --image_dir dir/to/images --dataset_json_path dataset.json cocoresult1.json cocoresult2.jsoncoco evaluate
sahi coco evaluate --dataset_json_path dataset.json --result_json_path result.jsoncoco analyse
sahi coco analyse --dataset_json_path dataset.json --result_json_path result.jsoncoco yolov5
sahi coco yolov5 --image_dir dir/to/images --dataset_json_path dataset.json --train_split 0.9breaking changes in predict cli:
config_pathtomodel_config_pathconf_threshtomodel_confidence_thresholdmatch_metrictopostprocess_match_metricmatch_threshtopostprocess_match_thresholdclass_agnostictopostprocess_class_agnosticpickletoexport_pickle,croptoexport_cropnovisualtoexport_visualno_sliced_predtono_sliced_predictionno_standard_predtono_standard_predictioncoco_filetodataset_json_path