Open Samuel-wei opened 1 year ago
$ docker exec -it yolov7_pytorch_devel python3 train.py --epochs 100 --workers 4 --device 0 --batch-size 8 --data data/battery.yaml --img 640 640 --cfg cfg/training/yolov7_battery.yaml --weights /home/workspace/yolo_weights/yolov7.pt --name 14_defect_V6.5_JinChuan --hyp data/hyp.scratch.custom.yaml
--weights /home/workspace/yolo_weights/yolov7.pt
September 21, 2023,晋川数据训练--Small detect
Training Version: 14_defect_6.5
Camera-0123, total:
Validation dataset
Camera-0123, total: 1477
Training On HuaWei
$
docker exec -it yolov7_pytorch_devel python3 train.py --epochs 100 --workers 4 --device 0 --batch-size 32 --data data/battery.yaml --img 640 640 --cfg cfg/training/battery-tiny.yaml --weights '/home/workspace/yolo_weights/yolov7-tiny.pt' --name 14_defect_V6.5 --hyp data/hyp.scratch.tiny.yaml
Result
Test-dev
docker exec -it yolov7_pytorch_deve_ssh python3 BatteryDetect.py --weights /home/workspace/BatteryDetect/models/14_defect_V6.5/weights/best.pt --conf 0.3 --img-size 640 --device 0 --source /home/workspace/BatteryDataSet/Data_xml/TestData/NG_14_20220907
docker exec -it yolov7_pytorch_deve_ssh python3 BatteryDetect.py --weights /home/workspace/BatteryDetect/models/14_defect_V6.5/weights/best.pt --conf 0.3 --img-size 640 --device 0 --source /home/workspace/BatteryDataSet/Data_xml/small_defect_JinChuan_V6/val_14_FP_V6.1.1_N5
docker exec -it yolov7_pytorch_deve_ssh python3 BatteryDetect.py --weights /home/workspace/BatteryDetect/models/14_defect_V6.5/weights/best.pt --conf 0.3 --img-size 640 --device 0 --source /home/workspace/BatteryDataSet/Data_xml/small_defect_JinChuan_V6/small_14_ok_V5.1.0_tp