tensorflow / tpu

Reference models and tools for Cloud TPUs.
https://cloud.google.com/tpu/
Apache License 2.0
5.21k stars 1.77k forks source link

Bug in imagenet_to_gcs.py #889

Open Byshkin opened 3 years ago

Byshkin commented 3 years ago

This tutorial https://cloud.google.com/tpu/docs/imagenet-setup and file imagenet_to_gcs.py are not working Please consider changing "validation_files = sorted(tf.gfile.Glob( os.path.join(raw_data_dir, VALIDATION_DIRECTORY, '','.JPEG')))" to "validation_files = sorted(tf.gfile.Glob( os.path.join(raw_data_dir, VALIDATION_DIRECTORY, '.JPEG')))"

CaoZhongZ commented 3 years ago
validation_files = sorted(tf.gfile.Glob(
             os.path.join(raw_data_dir, VALIDATION_DIRECTORY, '*.JPEG')))

I guess?