updates
This commit is contained in:
parent
249313be6c
commit
a6fdc7413b
10
utils/gcp.sh
10
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
|
||||
|
|
Loading…
Reference in New Issue