diff --git a/utils/gcp.sh b/utils/gcp.sh index cd840a35..d382dff0 100755 --- a/utils/gcp.sh +++ b/utils/gcp.sh @@ -5,10 +5,8 @@ rm -rf sample_data yolov3 git clone https://github.com/ultralytics/yolov3 git clone https://github.com/NVIDIA/apex && cd apex && pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" . --user && cd .. && rm -rf apex sudo conda install -yc conda-forge scikit-image pycocotools -python3 -c " -from yolov3.utils.google_utils import gdrive_download -gdrive_download('1WQT6SOktSe8Uw6r10-2JhbEhMY5DJaph','coco.zip')" -sudo shutdown +python3 -c "from yolov3.utils.google_utils import gdrive_download; gdrive_download('1WQT6SOktSe8Uw6r10-2JhbEhMY5DJaph','coco.zip')" +sudo reboot # Re-clone rm -rf yolov3 # Warning: remove existing