Commit fa43bb11 authored by Jeff Snyder's avatar Jeff Snyder Committed by Hongkun Yu
Browse files

Add explicit tensorflow version to 4_Neural_Style_Transfer_with_Eager_Execution.ipynb (#7965)

Colab will soon update the default version of tensorflow to 2.1.0. In order for this notebook to continue to work, I'm adding a line magic that will ensure this notebook continues to use tensorflow 1.x and execute without errors.
parent c813d85f
...@@ -168,6 +168,7 @@ ...@@ -168,6 +168,7 @@
}, },
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
"%tensorflow_version 1.x\n",
"import tensorflow as tf\n", "import tensorflow as tf\n",
"\n", "\n",
"from tensorflow.python.keras.preprocessing import image as kp_image\n", "from tensorflow.python.keras.preprocessing import image as kp_image\n",
......
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