YOLOv5 Forward Compatibility Update (#1569)
* YOLOv5 forward compatibility update * add data dir * ci test yolov3 * update build_targets() * update build_targets() * update build_targets() * update yolov3-spp.yaml * add yolov3-tiny.yaml * add yolov3-tiny.yaml * Update yolov3-tiny.yaml * thop bug fix * Detection() device bug fix * Use torchvision.ops.nms() * Remove redundant download mirror * CI tests with yolov3-tiny * Update README.md * Synch train and test iou_thresh * update requirements.txt * Cat apriori autolabels * Confusion matrix * Autosplit * Autosplit * Update README.md * AP no plot * Update caching * Update caching * Caching bug fix * --image-weights bug fix * datasets bug fix * mosaic plots bug fix * plot_study * boxes.max() * boxes.max() * boxes.max() * boxes.max() * boxes.max() * boxes.max() * update * Update README * Update README * Update README.md * Update README.md * results png * Update README * Targets scaling bug fix * update plot_study * update plot_study * update plot_study * update plot_study * Targets scaling bug fix * Finish Readme.md * Finish Readme.md * Finish Readme.md * Update README.md * Creado con Colaboratory
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
# Download latest models from https://github.com/ultralytics/yolov3/releases
|
||||
|
||||
python - <<EOF
|
||||
from utils.google_utils import attempt_download
|
||||
|
||||
for x in ['yolov3', 'yolov3-spp', 'yolov3-tiny']:
|
||||
attempt_download(f'{x}.pt')
|
||||
|
||||
EOF
|
||||
@@ -1,24 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# make '/weights' directory if it does not exist and cd into it
|
||||
# mkdir -p weights && cd weights
|
||||
|
||||
# copy darknet weight files, continue '-c' if partially downloaded
|
||||
# wget -c https://pjreddie.com/media/files/yolov3.weights
|
||||
# wget -c https://pjreddie.com/media/files/yolov3-tiny.weights
|
||||
# wget -c https://pjreddie.com/media/files/yolov3-spp.weights
|
||||
|
||||
# yolov3 pytorch weights
|
||||
# download from Google Drive: https://drive.google.com/drive/folders/1uxgUBemJVw9wZsdpboYbzUN4bcRhsuAI
|
||||
|
||||
# darknet53 weights (first 75 layers only)
|
||||
# wget -c https://pjreddie.com/media/files/darknet53.conv.74
|
||||
|
||||
# yolov3-tiny weights from darknet (first 16 layers only)
|
||||
# ./darknet partial cfg/yolov3-tiny.cfg yolov3-tiny.weights yolov3-tiny.conv.15 15
|
||||
# mv yolov3-tiny.conv.15 ../
|
||||
|
||||
# new method
|
||||
python3 -c "from models import *;
|
||||
attempt_download('weights/yolov3.pt');
|
||||
attempt_download('weights/yolov3-spp.pt')"
|
||||
Reference in New Issue
Block a user