Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
e59b6a85
Unverified
Commit
e59b6a85
authored
Jan 17, 2019
by
Shining Sun
Committed by
GitHub
Jan 17, 2019
Browse files
Remove the specified folder for Cifar10 data (#6060)
parent
dcf52aab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
official/resnet/cifar10_main.py
official/resnet/cifar10_main.py
+0
-2
No files found.
official/resnet/cifar10_main.py
View file @
e59b6a85
...
@@ -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.'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment