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
9fb1a1b6
Commit
9fb1a1b6
authored
Jul 24, 2019
by
Soroush Radpour
Committed by
Toby Boyd
Jul 24, 2019
Browse files
Returning an object causes the program to exit with a non-zero code. (#7294)
parent
c612d8c7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/resnet/keras/keras_imagenet_main.py
official/resnet/keras/keras_imagenet_main.py
+1
-1
No files found.
official/resnet/keras/keras_imagenet_main.py
View file @
9fb1a1b6
...
@@ -269,7 +269,7 @@ def define_imagenet_keras_flags():
...
@@ -269,7 +269,7 @@ def define_imagenet_keras_flags():
def
main
(
_
):
def
main
(
_
):
model_helpers
.
apply_clean
(
flags
.
FLAGS
)
model_helpers
.
apply_clean
(
flags
.
FLAGS
)
with
logger
.
benchmark_context
(
flags
.
FLAGS
):
with
logger
.
benchmark_context
(
flags
.
FLAGS
):
return
run
(
flags
.
FLAGS
)
run
(
flags
.
FLAGS
)
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
...
...
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