Skip to content

Commit

Permalink
update download path
Browse files Browse the repository at this point in the history
  • Loading branch information
darkliang committed Dec 8, 2021
1 parent bb6cd51 commit 0d86916
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions misc/download_pretrained_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,11 @@ def download_file_and_uncompress(url,


if __name__ == "__main__":
url = "https://github.com/ShiqiYu/OpenGait/releases/download/v1.0-beta/pretrained_model.zip"
download_file_and_uncompress(
url=url, extrapath='output')
urls = [
"https://github.com/ShiqiYu/OpenGait/releases/download/v1.0/pretrained_casiab_model.zip",
"https://github.com/ShiqiYu/OpenGait/releases/download/v1.0/pretrained_oumvlp_model.zip"]
for url in urls:
download_file_and_uncompress(
url=url, extrapath='output')

print("Pretrained model download success!")

0 comments on commit 0d86916

Please sign in to comment.