- π₯ κΈμ (1λ±) μμ π₯
- μμ¨μ£Όν μΈμ§ νμ΅μ© λ°μ΄ν° AI λͺ¨λΈ λ° μκ³ λ¦¬μ¦ μ±λ₯ νκ°, λμ κ°μ²΄ λ° μ μ κ°μ²΄μ λν κ°μ²΄ κ²μΆ μ νλ ν μ€νΈ
- 2021.12.06 ~ 2021.12.23
- μ£Όκ΄ : μ°μ ν΅μμμλΆ, νκ΅μλμ°¨μ°κ΅¬μ
- Facts and Figures, Click it!
- μ μ’ μ€ (νμ₯)
- λͺ μ¬μ©
- νκ΄νΈ
- μ€ν΄μΈ
- Python >= 3.7.0
- Pytorch >= 1.7.0
data = 40000, epochs = 19
Download best.pt in Release and move to /yolov5
cd yolov5
python train.py --img 1280 --batch 4 --epochs 19 --data 'data/dataset_train.yaml' --cfg 'models/yolov5m.yaml' --weights best.pt --device 0
python3 detect2.py --weights best.pt --img 1280 --iou-thres 0.6 --source ~/2021_Object_Detection_Foscar/yolov5/data/test --save-txt --exist-ok --save-conf --view-img # source = test data
cd yolov5/data/test # ground truth ν΄λΉ κ²½λ‘μ test img, λ³νλ txt μΆκ°
cd yolov5
python inference.py --data 'data/dataset.yaml' --weights best.pt --verbose --imgsz 1280 --task test --conf-thres 0.25 --device 0
#/yolov5/runs/val/exp/R_curve.png
change path in inference.sh (~/*.jpg)
cd yolov5
bash inference.sh
python yolo2voc2.py 'yolo txt path'