This commit is contained in:
Glenn Jocher 2019-07-25 13:37:01 +02:00
parent a834377122
commit 666d772fa7
4 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ Python 3.7 or later with the following `pip3 install -U -r requirements.txt` pac
# Jupyter Notebook
Use our Jupyter [notebook](https://github.com/ultralytics/yolov3/blob/master/ultralytics_YOLOv3.ipynb) to quickly get started with training, inference and testing examples.
Use our Jupyter [notebook](https://github.com/ultralytics/yolov3/blob/master/examples.ipynb) to quickly get started with training, inference and testing examples.
# Training

View File

@ -1,7 +1,7 @@
# pip3 install -U -r requirements.txt
# conda install numpy opencv matplotlib tqdm pillow
# conda install pytorch torchvision -c pytorch
# conda install -c conda-forge scikit-image
# conda install scikit-image -c conda-forge
numpy
opencv-python
torch >= 1.1.0

View File

@ -580,7 +580,7 @@ def kmeans_targets(path='./data/coco_64img.txt', n=9, img_size=320): # from uti
k = cluster.vq.kmeans(wh, n)[0]
k = k[np.argsort(k.prod(1))]
for x in k.ravel():
print('%.1f, ' % x, end='')
print('%.1f, ' % x, end='') # drop-in replacement for *.cfg anchors
# Plotting functions ---------------------------------------------------------------------------------------------------