forked from floratest1/SpireCV
fix model_sync
This commit is contained in:
parent
29702bfd11
commit
f346ad49d9
|
@ -9,6 +9,8 @@ root_url = "https://download.amovlab.com/model/SpireCV-models/"
|
|||
model_list_url = root_url + "model-list.txt"
|
||||
root_path = os.path.expanduser("~") + "/SpireCV/models"
|
||||
print("MODEL PATH:", root_path)
|
||||
if not os.path.exists(root_path):
|
||||
os.makedirs(root_path)
|
||||
list_file = os.path.join(root_path, "model-list.txt")
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue