Open biligunb opened 4 years ago
Add %tensorflow_version 1.x
at the top of the notebook and execute it. Colab now uses per default TF2, if you use this magic command, it will use TF1.
@tugstugi that works but it should work on google colab out of the box, maybe they should be changed?
ValueError: Tensorflow 1 is unsupported in Colab.
Your notebook should be updated to use Tensorflow 2.
See the guide at https://www.tensorflow.org/guide/migrate#migrate-from-tensorflow-1x-to-tensorflow-2.
Hi it seems the code for Google Colab is not working currently.
contrib
is deprecated.I am no expert. So I could not make it to use TF2.0.