Files
yolov5_birdproject/detect_and_crop_by_class.sh
T
2026-05-26 12:45:11 +08:00

9 lines
432 B
Bash

python /data6/zhangw/yolov5_birdproject/detect_and_crop_by_class.py \
--weights /data6/zhangw/yolov5_birdproject/runs/train/YNDC_20251010_yolov5_optimize/weights/best.pt \
--source /data6/zhangw/ZW_python_funtion/ZJLY_neg_nolabeled_images \
--output-dir /data6/zhangw/ZW_python_funtion/ZJLY_neg_nolabeled_images_croped \
--imgsz 640 \
--conf-thres 0.25 \
--iou-thres 0.45 \
--device 4 \
--class-num 5