Skip to content

GCP Quickstart

Glenn Jocher edited this page Mar 25, 2019 · 24 revisions
  1. Select a premade pytorch image from the GCP marketplace, check 'install GPU driver automatically': https://cloud.google.com/deep-learning-vm/docs/images

  2. Install the dependencies:

conda install numpy opencv tqdm && conda install pytorch torchvision -c pytorch
  1. Paste the following code. No other steps are required.
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
cd yolov3 && python3 test.py --save-json --conf-thres 0.001 --img-size 416
Screenshot 2019-03-25 at 15 58 47
Clone this wiki locally