From 2c42113b8e35d5062ea8a9f60d2254d800891386 Mon Sep 17 00:00:00 2001 From: Raffi Khatchadourian Date: Wed, 21 Aug 2024 14:59:42 -0400 Subject: [PATCH] Add submodule. --- .gitmodules | 3 +++ 4-Object_Detection/YOLOV3/README.md | 2 +- 4-Object_Detection/YOLOV3/yymnist | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 4-Object_Detection/YOLOV3/yymnist diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..c76c3c55 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "4-Object_Detection/YOLOV3/yymnist"] + path = 4-Object_Detection/YOLOV3/yymnist + url = https://github.com/YunYang1994/yymnist.git diff --git a/4-Object_Detection/YOLOV3/README.md b/4-Object_Detection/YOLOV3/README.md index dd400874..a782c207 100644 --- a/4-Object_Detection/YOLOV3/README.md +++ b/4-Object_Detection/YOLOV3/README.md @@ -37,7 +37,7 @@ $ python image_demo.py Download [yymnist](https://github.com/YunYang1994/yymnist) dataset and make data. ``` -$ git clone https://github.com/YunYang1994/yymnist.git +$ git submodule update --init --recursive --remote yymnist # Use `--remote` to update the submodule to the latest commit. $ python yymnist/make_data.py --images_num 1000 --images_path ./data/dataset/train --labels_txt ./data/dataset/yymnist_train.txt $ python yymnist/make_data.py --images_num 200 --images_path ./data/dataset/test --labels_txt ./data/dataset/yymnist_test.txt ``` diff --git a/4-Object_Detection/YOLOV3/yymnist b/4-Object_Detection/YOLOV3/yymnist new file mode 160000 index 00000000..12f0be92 --- /dev/null +++ b/4-Object_Detection/YOLOV3/yymnist @@ -0,0 +1 @@ +Subproject commit 12f0be92fa211ad67f4cce56e0d395d8278293c0