Unverified Commit e59b6a85 authored by Shining Sun's avatar Shining Sun Committed by GitHub
Browse files

Remove the specified folder for Cifar10 data (#6060)

parent dcf52aab
...@@ -52,8 +52,6 @@ DATASET_NAME = 'CIFAR-10' ...@@ -52,8 +52,6 @@ DATASET_NAME = 'CIFAR-10'
############################################################################### ###############################################################################
def get_filenames(is_training, data_dir): def get_filenames(is_training, data_dir):
"""Returns a list of filenames.""" """Returns a list of filenames."""
data_dir = os.path.join(data_dir, 'cifar-10-batches-bin')
assert os.path.exists(data_dir), ( assert os.path.exists(data_dir), (
'Run cifar10_download_and_extract.py first to download and extract the ' 'Run cifar10_download_and_extract.py first to download and extract the '
'CIFAR-10 data.') 'CIFAR-10 data.')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment