updates
This commit is contained in:
parent
f5d398a68d
commit
bd440fa0c3
|
@ -1,5 +1,5 @@
|
||||||
# pip3 install -U -r requirements.txt
|
# pip3 install -U -r requirements.txt
|
||||||
# conda install numpy opencv matplotlib && conda install pytorch torchvision -c pytorch
|
# conda install numpy opencv matplotlib tqdm && conda install pytorch torchvision -c pytorch
|
||||||
numpy
|
numpy
|
||||||
opencv-python
|
opencv-python
|
||||||
torch >= 1.0.0
|
torch >= 1.0.0
|
||||||
|
|
12
utils/gcp.sh
12
utils/gcp.sh
|
@ -1,16 +1,16 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# New VM
|
# New VM
|
||||||
sudo rm -rf yolov3 && git clone https://github.com/ultralytics/yolov3
|
git clone https://github.com/ultralytics/yolov3
|
||||||
bash yolov3/data/get_coco_dataset.sh
|
bash yolov3/data/get_coco_dataset.sh
|
||||||
bash yolov3/weights/download_yolov3_weights.sh
|
bash yolov3/weights/download_yolov3_weights.sh && cp -r yolov3/weights weights
|
||||||
sudo rm -rf cocoapi && git clone https://github.com/cocodataset/cocoapi && cd cocoapi/PythonAPI && make && cd ../.. && cp -r cocoapi/PythonAPI/pycocotools yolov3
|
git clone https://github.com/cocodataset/cocoapi && cd cocoapi/PythonAPI && make && cd ../.. && cp -r cocoapi/PythonAPI/pycocotools yolov3
|
||||||
sudo shutdown
|
sudo reboot now
|
||||||
|
|
||||||
# Train
|
# Train
|
||||||
sudo rm -rf yolov3 && git clone https://github.com/ultralytics/yolov3
|
sudo rm -rf yolov3 && git clone https://github.com/ultralytics/yolov3
|
||||||
cp -r weights yolov3
|
cp -r weights yolov3
|
||||||
cd yolov3 && python3 train.py --batch-size 48 --epochs 1
|
cd yolov3 && python3 train.py --batch-size 24 --epochs 1
|
||||||
sudo shutdown
|
sudo shutdown
|
||||||
|
|
||||||
# Resume
|
# Resume
|
||||||
|
@ -22,7 +22,7 @@ python3 detect.py
|
||||||
# Clone a branch
|
# Clone a branch
|
||||||
sudo rm -rf yolov3 && git clone -b multi_gpu --depth 1 https://github.com/ultralytics/yolov3
|
sudo rm -rf yolov3 && git clone -b multi_gpu --depth 1 https://github.com/ultralytics/yolov3
|
||||||
cp -r weights yolov3
|
cp -r weights yolov3
|
||||||
cd yolov3 && python3 train.py --batch-size 48 --epochs 1
|
cd yolov3 && python3 train.py --batch-size 24 --epochs 1
|
||||||
sudo shutdown
|
sudo shutdown
|
||||||
|
|
||||||
# Git pull branch
|
# Git pull branch
|
||||||
|
|
Loading…
Reference in New Issue