From 5aeef8fba753aa6ceb7f893cbf4a4d59fc731afb Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Mon, 20 May 2019 17:50:12 +0200 Subject: [PATCH] updates --- utils/gcp.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/gcp.sh b/utils/gcp.sh index 25c48ce5..bcaa9b41 100755 --- a/utils/gcp.sh +++ b/utils/gcp.sh @@ -67,12 +67,12 @@ python3 train.py --data data/coco_1cls.data --epochs 5 --nosave # train 5 epoch python3 train.py --data data/coco_1img.data --epochs 5 --nosave # train 5 epochs # AlexyAB Darknet -gsutil cp -r gs://sm4/supermarket2 . -rm -rf darknet && git clone https://github.com/AlexeyAB/darknet -wget -c https://pjreddie.com/media/files/darknet53.conv.74 +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.cfg backup/yolov3-spp_last.weights # resume python3 test.py --data ../supermarket2/supermarket2.data --weights ../darknet/backup/yolov3-spp-sm2_3000.weights # test +gsutil cp -r backup/*.weights gs://sm4/weights # weights to bucket # Debug/Development python3 train.py --evolve --data data/coco_1k5k.data --epochs 30 --img-size 320