diff --git a/utils/gcp.sh b/utils/gcp.sh index 86193404..6037b7f2 100644 --- a/utils/gcp.sh +++ b/utils/gcp.sh @@ -11,7 +11,7 @@ gsutil cp gs://ultralytics/yolov3.pt yolov3/weights python3 detect.py # Test -python3 test.py -img_size 416 -weights_path weights/latest.pt -conf_thres 0.2 +python3 test.py -img_size 416 -weights_path weights/latest.pt -conf_thres 0.1 # Download and Test sudo rm -rf yolov3 && git clone https://github.com/ultralytics/yolov3 && cd yolov3 @@ -26,3 +26,7 @@ python3 test.py -img_size 416 -weights_path weights/latest.pt -conf_thres 0.5 # Copy latest.pt to bucket gsutil cp yolov3/weights/latest.pt gs://ultralytics + +# Copy latest.pt from bucket +gsutil cp gs://ultralytics/latest.pt yolov3/weights/latest.pt +