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

imagenet_to_gcs.py ends with empty tfrecords #980

Open
exx8 opened this issue May 7, 2022 · 1 comment
Open

imagenet_to_gcs.py ends with empty tfrecords #980

exx8 opened this issue May 7, 2022 · 1 comment

Comments

@exx8
Copy link

exx8 commented May 7, 2022

I try to run imagenet_to_gcs.py --raw_data_dir=/sda/Eran/imagenet/ --local_scratch_dir=/sda/Eran/downloads/TFrecords --nogcs_upload and the script runs, but I get a folder with empty TFrecords.
image
it seems that something went wrong. The folder of the extracted images of imagenet seems to be fine:
image
image
I use tf 2.8.
Debugging tf global ended with an empty array.
Thanks

@exx8
Copy link
Author

exx8 commented May 7, 2022

The problem was that the script expects the samples to be under "train" and "test"; if it doesn't find these folder it just skips all the files that should have been placed there.
I would expect some error or something that tell the problem.

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

No branches or pull requests

1 participant