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
91c8f5d4
Unverified
Commit
91c8f5d4
authored
Nov 16, 2017
by
mhyttsten
Committed by
GitHub
Nov 16, 2017
Browse files
Update blog_estimators_dataset.py
Added assert for TensorFlow r1.4 since tf.data is required.
parent
d710a973
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
samples/outreach/blogs/blog_estimators_dataset.py
samples/outreach/blogs/blog_estimators_dataset.py
+1
-1
No files found.
samples/outreach/blogs/blog_estimators_dataset.py
View file @
91c8f5d4
...
@@ -25,7 +25,7 @@ import tensorflow as tf
...
@@ -25,7 +25,7 @@ import tensorflow as tf
# Check that we have correct TensorFlow version installed
# Check that we have correct TensorFlow version installed
tf_version
=
tf
.
__version__
tf_version
=
tf
.
__version__
print
(
"TensorFlow version: {}"
.
format
(
tf_version
))
print
(
"TensorFlow version: {}"
.
format
(
tf_version
))
assert
"1.
3
"
<=
tf_version
,
"TensorFlow r1.
3
or later is needed"
assert
"1.
4
"
<=
tf_version
,
"TensorFlow r1.
4
or later is needed"
# Windows users: You only need to change PATH, rest is platform independent
# Windows users: You only need to change PATH, rest is platform independent
PATH
=
"/tmp/tf_dataset_and_estimator_apis"
PATH
=
"/tmp/tf_dataset_and_estimator_apis"
...
...
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