Open ry-eon opened 3 years ago
YOLOv4의 custom training issue
cfg.py
cfg/yolov4.cfg
train.py
./train.sh
-dir /dataset_path/ -pretrained /pretarined_model_path/yolov4.conv.137.pth
-dir
-pretrained
YOLOv4 말풍선 탐지 모델 학습 이슈
1. cfg
학습 옵션 조절
cfg.py
cfg/yolov4.cfg
train.py
2. training
./train.sh
실행-dir /dataset_path/ -pretrained /pretarined_model_path/yolov4.conv.137.pth
만 설정.-dir
값 넣어줘야함-dir
: 데이터가 있는 폴더 위치 해당 폴더안에는 image, XML 두가지 폴더가 있어여한다.(폴더명도 일치해야함)-pretrained
: yolov4.conv.137.pth 위치demo