From d2589fc5f73d2260ac7d6b0da8287b9131d6f44d Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Tue, 21 May 2019 15:00:16 +0200 Subject: [PATCH] updates --- utils/gcp.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/gcp.sh b/utils/gcp.sh index d32bfbf6..ddb6eeed 100755 --- a/utils/gcp.sh +++ b/utils/gcp.sh @@ -68,10 +68,10 @@ python3 train.py --data data/coco_1img.data --epochs 5 --nosave # train 5 epoch # AlexyAB Darknet gsutil cp -r gs://sm4/supermarket2 . # dataset from bucket -rm -rf darknet && git clone https://github.com/AlexeyAB/darknet && cd darknet && wget -c https://pjreddie.com/media/files/darknet53.conv.74 -./darknet detector train ../supermarket2/supermarket2.data cfg/yolov3-spp-sm2.cfg darknet53.conv.74 # train -./darknet detector train ../supermarket2/supermarket2.data cfg/yolov3-spp-sm2.cfg backup/yolov3-spp-sm2_last.weights # resume -python3 test.py --data ../supermarket2/supermarket2.data --weights ../darknet/backup/yolov3-spp-sm2_3000.weights # test +rm -rf darknet && git clone https://github.com/AlexeyAB/darknet && cd darknet && wget -c https://pjreddie.com/media/files/darknet53.conv.74 # sudo apt install libopencv-dev && make +./darknet detector train ../supermarket2/supermarket2.data cfg/yolov3-spp-sm2-1cls.cfg darknet53.conv.74 -map -dont_show # train +./darknet detector train ../supermarket2/supermarket2.data cfg/yolov3-spp-sm2-1cls.cfg backup/yolov3-spp-sm2-1cls_last.weights # resume +python3 test.py --data ../supermarket2/supermarket2.data --weights ../darknet/backup/yolov3-spp-sm2-1cls_3000.weights # test gsutil cp -r backup/*.weights gs://sm4/weights # weights to bucket # Debug/Development