From a6fdc7413b7bedd10bf19248e0838b953c3b3268 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Tue, 26 Feb 2019 15:12:21 +0100 Subject: [PATCH] updates --- utils/gcp.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/utils/gcp.sh b/utils/gcp.sh index 208871a3..3707f86d 100755 --- a/utils/gcp.sh +++ b/utils/gcp.sh @@ -3,11 +3,10 @@ # New VM sudo rm -rf yolov3 && git clone https://github.com/ultralytics/yolov3 bash yolov3/data/get_coco_dataset.sh +sudo rm -rf cocoapi && git clone https://github.com/cocodataset/cocoapi && cd cocoapi/PythonAPI && make && cd ../.. && cp -r cocoapi/PythonAPI/pycocotools yolov3 # Start -sudo rm -rf yolov3 && git clone https://github.com/ultralytics/yolov3 -sudo rm -rf cocoapi && git clone https://github.com/cocodataset/cocoapi && cd cocoapi/PythonAPI && make && cd ../.. && cp -r cocoapi/PythonAPI/pycocotools yolov3 -cd yolov3 && python3 test.py --save-json +python3 train.py # Resume python3 train.py --resume @@ -17,8 +16,9 @@ gsutil cp gs://ultralytics/yolov3.pt yolov3/weights python3 detect.py # Test -sudo rm -rf yolov3 && git clone https://github.com/ultralytics/yolov3 && cd yolov3 -python3 test.py --weights weights/yolov3.weights +sudo rm -rf yolov3 && git clone https://github.com/ultralytics/yolov3 +sudo rm -rf cocoapi && git clone https://github.com/cocodataset/cocoapi && cd cocoapi/PythonAPI && make && cd ../.. && cp -r cocoapi/PythonAPI/pycocotools yolov3 +cd yolov3 && python3 test.py --save-json # Test Darknet python3 test.py --img_size 416 --weights ../darknet/backup/yolov3.backup