From 47dedfbf414d46d72835cc9b5e24206f7a6fab73 Mon Sep 17 00:00:00 2001 From: Tossy0423 Date: Sun, 19 Sep 2021 17:17:04 +0900 Subject: [PATCH] Add: Auto download weight files --- RUN-DOWNLOAD-WEIGHTFILE.sh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 RUN-DOWNLOAD-WEIGHTFILE.sh diff --git a/RUN-DOWNLOAD-WEIGHTFILE.sh b/RUN-DOWNLOAD-WEIGHTFILE.sh new file mode 100755 index 00000000000..a454ff13dd6 --- /dev/null +++ b/RUN-DOWNLOAD-WEIGHTFILE.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +echo "Create folder to download weights file..." +cmd="mkdir weights" +echo "$cmd" +$cmd + + +echo "Download wight files..." + +## yolov2-tiny +# wget -P ./weights/ https://pjreddie.com/media/files/yolov2-tiny.weights + +## yolov2 +# wget -P ./weights/ https://pjreddie.com/media/files/yolov2.weights + +## yolov3-tiny +# wget -P ./weights/ https://pjreddie.com/media/files/yolov3-tiny.weights + +## yolov3 +# wget -P ./weights/ https://pjreddie.com/media/files/yolov3.weights + +## yolov4-tiny +wget -P ./weights/ https://github.com/AlexeyAB/darknet/releases/download/darknet_yolo_v4_pre/yolov4-tiny.weights + +## yolov4 +wget -P ./weights/ https://github.com/AlexeyAB/darknet/releases/download/darknet_yolo_v3_optimal/yolov4.weights