Skip to content

Conversation

@pierrevz
Copy link

This change limits get_celeb_files to return a maximum of 100 files when the directory 'img_align_celeba' already exists with more than 100 files. The full data-set is over 200,000 files. This code still relies on the files being sequential and in the format '000%03d' which is the original format. Where files are missing, the number of returned files will less than 100.

Note: a future recommendation is to pass a file_quantity parameter to get_celeb_imgs to allow for data-sets of any size.

This change limits  get_celeb_files to return a maximum of 100 files when the directory 'img_align_celeba' already exists with more than 100 files. The full data-set is over 200,000 files. This code still relies on the files being sequential and in the format '000%03d' which is the original format. Where files are missing, the number of returned files will less than 100.

Note: a future recommendation is to pass a file_quantity parameter to get_celeb_imgs to allow for data-sets  of any size.
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.

1 participant