-
Notifications
You must be signed in to change notification settings - Fork 587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add download directory to the argument parser. #2
base: master
Are you sure you want to change the base?
Conversation
Author: Håkon Hukkelås <[email protected]>
download_ffhq.py
Outdated
@@ -384,6 +385,7 @@ def run_cmdline(argv): | |||
parser.add_argument('--timing_window', help='samples for estimating download eta (default: 50)', type=int, default=50, metavar='LEN') | |||
parser.add_argument('--chunk_size', help='chunk size for each download thread (default: 128)', type=int, default=128, metavar='KB') | |||
parser.add_argument('--num_attempts', help='number of download attempts per file (default: 10)', type=int, default=10, metavar='NUM') | |||
parser.add_argument('--base_directory', help="directory to save the downloaded files (default: current folder)", default="") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest calling the argument "download_directory" instead, because that makes more sense to the user.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. Download directory is more intuitive. Updated the PR now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I doubt I'm very relevant for the review process since I'm not in any way involved with NVidia or this wonderful ML project, but I've looked at the code and think it's OK =)
@PierreRheault would you kindly stop spamming us? |
please, is there a data annotation file for the proposed dataset? thank you |
Author: Håkon Hukkelås [email protected]
Adds possibility to add --base_directory as an argument to download the dataset outside of the current folder.