car-detection-bayes/utils/evolve.sh

13 lines
689 B
Bash
Raw Normal View History

2019-12-23 16:25:40 +00:00
#!/bin/bash
2019-12-22 03:47:49 +00:00
#for i in 1 2 3 4 5 6 7
#do
2019-12-23 19:13:00 +00:00
# t=ultralytics/yolov3:v139 && sudo docker pull $t && sudo nvidia-docker run -d --ipc=host -v "$(pwd)"/coco:/usr/src/coco $t utils/evolve.sh $i
2019-12-22 03:47:49 +00:00
# sleep 30
# done
2019-12-23 19:13:00 +00:00
#
# t=ultralytics/yolov3:v139 && sudo docker pull $t && sudo nvidia-docker run -it --ipc=host -v "$(pwd)"/coco:/usr/src/coco $t python3 train.py --data coco2014.data --img-size 320 --epochs 1 --batch-size 64 --accumulate 1 --evolve --weights '' --pre --bucket yolov4/320_coco2014_27e --device 1
2019-12-22 03:47:49 +00:00
2019-12-23 16:27:21 +00:00
while true; do
python3 train.py --data coco2014.data --img-size 320 --epochs 27 --batch-size 64 --accumulate 1 --evolve --weights '' --pre --bucket yolov4/320_coco2014_27e --device $1
2019-12-23 16:25:40 +00:00
done