Skip to content
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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

hukkelas
Copy link

@hukkelas hukkelas commented Feb 5, 2019

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.

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="")
Copy link

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.

Copy link
Author

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.

Copy link

@alkanen alkanen left a 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 =)

@alkanen
Copy link

alkanen commented Apr 1, 2021

@PierreRheault would you kindly stop spamming us?

@haifa33
Copy link

haifa33 commented Nov 6, 2021

please, is there a data annotation file for the proposed dataset?
and if it is an xml file, it will be a great help

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants