Skip to content

Commit

Permalink
fix: pidinet annotator being downloaded to wrong location
Browse files Browse the repository at this point in the history
  • Loading branch information
tazlin committed Apr 24, 2023
1 parent 588e766 commit 1bae6c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
def download_if_not_existed():
modelpath = os.path.join(builtins.annotator_ckpts_path, modeldir, "table5_pidinet.pth")
if not os.path.exists(modelpath):
load_file_from_url(remote_model_path, model_dir=modeldir)
load_file_from_url(remote_model_path, model_dir=modelpath)
return modelpath


Expand Down

0 comments on commit 1bae6c6

Please sign in to comment.