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
df203f73
Commit
df203f73
authored
Oct 30, 2017
by
Sergio Guadarrama
Browse files
Automated g4 rollback of changelist 173688125
PiperOrigin-RevId: 173917628
parent
14a173f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
research/slim/deployment/model_deploy.py
research/slim/deployment/model_deploy.py
+0
-8
No files found.
research/slim/deployment/model_deploy.py
View file @
df203f73
...
...
@@ -103,8 +103,6 @@ import collections
import
tensorflow
as
tf
from
tensorflow.python.eager
import
context
slim
=
tf
.
contrib
.
slim
...
...
@@ -344,13 +342,7 @@ def deploy(config,
Returns:
A `DeployedModel` namedtuple.
Raises:
RuntimeError: If eager execution is enabled.
"""
if
context
.
in_eager_mode
():
raise
RuntimeError
(
'slim.deploy is not supported when eager execution is enabled.'
)
# Gather initial summaries.
summaries
=
set
(
tf
.
get_collection
(
tf
.
GraphKeys
.
SUMMARIES
))
...
...
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