Skip to content

Commit

Permalink
remove the local option
Browse files Browse the repository at this point in the history
  • Loading branch information
hkchengrex committed Aug 18, 2024
1 parent b2dc761 commit be2c174
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cutie/utils/download_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
('https://github.com/hkchengrex/Cutie/releases/download/v1.0/cutie-base-mega.pth', 'a6071de6136982e396851903ab4c083a'),
]

def download_models_if_needed(local: bool = False) -> str:
def download_models_if_needed() -> str:
weight_dir = os.path.join(os.path.dirname(__file__), '..', '..', 'weights')
os.makedirs(weight_dir, exist_ok=True)
for link, md5 in _links:
Expand All @@ -33,4 +33,4 @@ def download_models_if_needed(local: bool = False) -> str:


if __name__ == '__main__':
download_models_if_needed(local=True)
download_models_if_needed()

0 comments on commit be2c174

Please sign in to comment.