From 334c2055d934ec5cdaf02419e5c8206f9730b8fb Mon Sep 17 00:00:00 2001 From: jario Date: Wed, 17 Jan 2024 11:35:41 +0800 Subject: [PATCH] fix --- scripts/model_sync.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/model_sync.py b/scripts/model_sync.py index 1068b44..5ae669c 100644 --- a/scripts/model_sync.py +++ b/scripts/model_sync.py @@ -7,7 +7,8 @@ import argparse root_url = "https://download.amovlab.com/model/SpireCV-models/" model_list_url = root_url + "model-list.txt" -root_path = "/home/amov/SpireCV/models" +root_path = os.path.expanduser("~") + "/SpireCV/models" +print("MODEL PATH:", root_path) list_file = os.path.join(root_path, "model-list.txt")