hyperparameter updates
This commit is contained in:
parent
6525c76f9c
commit
5962510b23
3
train.py
3
train.py
|
@ -11,8 +11,7 @@ from utils.datasets import *
|
||||||
from utils.utils import *
|
from utils.utils import *
|
||||||
|
|
||||||
# Hyperparameters
|
# Hyperparameters
|
||||||
# 0.852 0.94 0.924 0.883 1.33 # results
|
# 0.852 0.94 0.924 0.883 1.33 8.52 0.06833 0.01524 0.01509 0.9013 0.1003 0.001325 -3.853 0.8948 0.0004053 # hyp
|
||||||
# 8.52 0.06833 0.01524 0.01509 0.9013 0.1003 0.001325 -3.853 0.8948 0.0004053 # hyp
|
|
||||||
hyp = {'k': 8.52, # loss multiple
|
hyp = {'k': 8.52, # loss multiple
|
||||||
'xy': 0.06833, # xy loss fraction
|
'xy': 0.06833, # xy loss fraction
|
||||||
'wh': 0.01524, # wh loss fraction
|
'wh': 0.01524, # wh loss fraction
|
||||||
|
|
|
@ -9,7 +9,7 @@ git clone https://github.com/cocodataset/cocoapi && cd cocoapi/PythonAPI && make
|
||||||
sudo reboot now
|
sudo reboot now
|
||||||
|
|
||||||
# Re-clone
|
# Re-clone
|
||||||
sudo rm -rf yolov3
|
rm -rf yolov3
|
||||||
git clone https://github.com/ultralytics/yolov3 # master
|
git clone https://github.com/ultralytics/yolov3 # master
|
||||||
# git clone -b test --depth 1 https://github.com/ultralytics/yolov3 yolov3_test # branch
|
# git clone -b test --depth 1 https://github.com/ultralytics/yolov3 yolov3_test # branch
|
||||||
cp -r weights yolov3
|
cp -r weights yolov3
|
||||||
|
@ -54,17 +54,27 @@ gsutil cp results*.txt gs://ultralytics
|
||||||
gsutil cp results.png gs://ultralytics
|
gsutil cp results.png gs://ultralytics
|
||||||
sudo shutdown
|
sudo shutdown
|
||||||
|
|
||||||
|
# Unit tests
|
||||||
|
rm -rf yolov3
|
||||||
|
git clone https://github.com/ultralytics/yolov3 # master
|
||||||
|
cp -r weights yolov3 && cd yolov3
|
||||||
|
python3 detecty.py # detect
|
||||||
|
python3 test.py --data data/coco_32img.data # test
|
||||||
|
python3 train.py --data data/coco_32img.data --epochs 3 --nosave # train
|
||||||
|
|
||||||
# Debug/Development
|
# Debug/Development
|
||||||
sudo rm -rf yolov3
|
rm -rf yolov3
|
||||||
git clone https://github.com/ultralytics/yolov3 # master
|
git clone https://github.com/ultralytics/yolov3 # master
|
||||||
# git clone -b test --depth 1 https://github.com/ultralytics/yolov3 yolov3_test # branch
|
# git clone -b test --depth 1 https://github.com/ultralytics/yolov3 yolov3_test # branch
|
||||||
cp -r weights yolov3
|
|
||||||
cp -r cocoapi/PythonAPI/pycocotools yolov3
|
cp -r cocoapi/PythonAPI/pycocotools yolov3
|
||||||
cd yolov3
|
cp -r weights yolov3 && cd yolov3
|
||||||
python3 train.py --evolve --data data/coco_100img.data --num-workers 2
|
python3 train.py --nosave --data data/coco_100img.data --num-workers 2
|
||||||
gsutil cp evolve.txt gs://ultralytics
|
gsutil cp evolve.txt gs://ultralytics
|
||||||
sudo shutdown
|
sudo shutdown
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
gsutil cp results*.txt gs://ultralytics
|
||||||
|
sudo shutdown now
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue