Skip to content

Commit

Permalink
add makedir
Browse files Browse the repository at this point in the history
  • Loading branch information
Gwangbin Bae committed Sep 23, 2021
1 parent 0e28386 commit 96bc284
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions download.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ def save_response_content(response, destination):


if __name__ == "__main__":
os.makedirs('./checkpoints', exist_ok=True)
os.makedirs('./examples', exist_ok=True)

if not os.path.exists('./checkpoints/nyu.pt'):
print('downloading the model trained on NYUv2...')
Expand Down

0 comments on commit 96bc284

Please sign in to comment.