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
00e6186d
Commit
00e6186d
authored
Sep 21, 2017
by
Olivia
Browse files
update parser imports
parent
bad8b0ba
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
tutorials/image/cifar10/cifar10_eval.py
tutorials/image/cifar10/cifar10_eval.py
+1
-1
tutorials/image/cifar10/cifar10_multi_gpu_train.py
tutorials/image/cifar10/cifar10_multi_gpu_train.py
+1
-1
tutorials/image/cifar10/cifar10_train.py
tutorials/image/cifar10/cifar10_train.py
+0
-1
No files found.
tutorials/image/cifar10/cifar10_eval.py
View file @
00e6186d
...
@@ -44,7 +44,7 @@ import tensorflow as tf
...
@@ -44,7 +44,7 @@ import tensorflow as tf
import
cifar10
import
cifar10
parser
=
argparse
.
ArgumentParser
()
parser
=
cifar10
.
parser
parser
.
add_argument
(
'--eval_dir'
,
type
=
str
,
default
=
'/tmp/cifar10_eval'
,
help
=
'Directory where to write event logs.'
)
parser
.
add_argument
(
'--eval_dir'
,
type
=
str
,
default
=
'/tmp/cifar10_eval'
,
help
=
'Directory where to write event logs.'
)
...
...
tutorials/image/cifar10/cifar10_multi_gpu_train.py
View file @
00e6186d
...
@@ -50,7 +50,7 @@ from six.moves import xrange # pylint: disable=redefined-builtin
...
@@ -50,7 +50,7 @@ from six.moves import xrange # pylint: disable=redefined-builtin
import
tensorflow
as
tf
import
tensorflow
as
tf
import
cifar10
import
cifar10
parser
=
argparse
.
ArgumentParser
()
parser
=
cifar10
.
parser
parser
.
add_argument
(
'--train_dir'
,
type
=
str
,
default
=
'/tmp/cifar10_train'
,
help
=
'Directory where to write event logs and checkpoint.'
)
parser
.
add_argument
(
'--train_dir'
,
type
=
str
,
default
=
'/tmp/cifar10_train'
,
help
=
'Directory where to write event logs and checkpoint.'
)
...
...
tutorials/image/cifar10/cifar10_train.py
View file @
00e6186d
...
@@ -43,7 +43,6 @@ import time
...
@@ -43,7 +43,6 @@ import time
import
tensorflow
as
tf
import
tensorflow
as
tf
import
cifar10
import
cifar10
from
cifar10
import
FLAGS
parser
=
cifar10
.
parser
parser
=
cifar10
.
parser
...
...
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