From b4ba6a2624be9063a53d47f3a8bc7a396cfc2269 Mon Sep 17 00:00:00 2001 From: Yusuke Nishiguchi Date: Sat, 13 Aug 2022 08:44:19 +0900 Subject: [PATCH] Create directory in case it doesn't exist. --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index 21de6fb..3c4944b 100755 --- a/install.sh +++ b/install.sh @@ -21,6 +21,7 @@ wget -O data/pretrained/mica.tar "https://keeper.mpdl.mpg.de/f/db172dc4bd4f4c0f9 # https://github.com/deepinsight/insightface/issues/1896 # Insightface has problems with hosting the models echo -e "\nDownloading insightface models..." +mkdir -p ~/.insightface/models/ if [ ! -d ~/.insightface/models/antelopev2 ]; then wget -O ~/.insightface/models/antelopev2.zip "https://keeper.mpdl.mpg.de/f/2d58b7fed5a74cb5be83/?dl=1" unzip ~/.insightface/models/antelopev2.zip -d ~/.insightface/models/antelopev2