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
8815a860
Commit
8815a860
authored
Sep 22, 2017
by
Olivia
Browse files
review changes
parent
2a8e9ade
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tutorials/image/cifar10/cifar10.py
tutorials/image/cifar10/cifar10.py
+2
-1
No files found.
tutorials/image/cifar10/cifar10.py
View file @
8815a860
...
@@ -35,12 +35,12 @@ from __future__ import absolute_import
...
@@ -35,12 +35,12 @@ from __future__ import absolute_import
from
__future__
import
division
from
__future__
import
division
from
__future__
import
print_function
from
__future__
import
print_function
import
argparse
import
os
import
os
import
re
import
re
import
sys
import
sys
import
tarfile
import
tarfile
import
argparse
from
six.moves
import
urllib
from
six.moves
import
urllib
import
tensorflow
as
tf
import
tensorflow
as
tf
...
@@ -59,6 +59,7 @@ parser.add_argument('--use_fp16', type=bool, default=False,
...
@@ -59,6 +59,7 @@ parser.add_argument('--use_fp16', type=bool, default=False,
help
=
'Train the model using fp16.'
)
help
=
'Train the model using fp16.'
)
FLAGS
=
parser
.
parse_args
()
FLAGS
=
parser
.
parse_args
()
# Global constants describing the CIFAR-10 data set.
# Global constants describing the CIFAR-10 data set.
IMAGE_SIZE
=
cifar10_input
.
IMAGE_SIZE
IMAGE_SIZE
=
cifar10_input
.
IMAGE_SIZE
NUM_CLASSES
=
cifar10_input
.
NUM_CLASSES
NUM_CLASSES
=
cifar10_input
.
NUM_CLASSES
...
...
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