"examples/vscode:/vscode.git/clone" did not exist on "074e12358bc17e7dbe111ea4f62f05dbae8a49d5"
Unverified Commit 91c8f5d4 authored by mhyttsten's avatar mhyttsten Committed by GitHub
Browse files

Update blog_estimators_dataset.py

Added assert for TensorFlow r1.4 since tf.data is required.
parent d710a973
...@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment