car-detection-bayes/weights/download_yolov3_weights.sh

22 lines
778 B
Bash
Raw Normal View History

2018-08-26 09:24:09 +00:00
#!/bin/bash
2018-12-22 12:53:45 +00:00
# make '/weights' directory if it does not exist and cd into it
mkdir -p weights && cd weights
2018-12-22 11:49:55 +00:00
2018-12-22 12:53:45 +00:00
# copy weight files, continue '-c' if partially downloaded
# yolov3 darknet weights
wget -c https://pjreddie.com/media/files/yolov3.weights
wget -c https://pjreddie.com/media/files/yolov3-tiny.weights
2018-12-22 13:25:02 +00:00
wget -c https://pjreddie.com/media/files/yolov3-spp.weights
2018-12-22 11:49:55 +00:00
2018-12-22 12:53:45 +00:00
# yolov3 pytorch weights
2018-12-28 07:48:10 +00:00
# download from Google Drive: https://drive.google.com/drive/u/0/folders/1uxgUBemJVw9wZsdpboYbzUN4bcRhsuAI
2018-12-22 12:53:45 +00:00
# darknet53 weights (first 75 layers only)
2018-12-22 12:54:02 +00:00
wget -c https://pjreddie.com/media/files/darknet53.conv.74
2019-01-06 22:57:59 +00:00
# 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 ../