I wanted to run (Colab) Pre-trained model exploration.ipynb, but I faced this problem.
Tensorflow 1 is unsupported in Colab.
Your notebook should be updated to use Tensorflow 2.
—> 41 See the guide at Migrate to TensorFlow 2 | TensorFlow Core“”"
42 ))
43
ValueError: Tensorflow 1 is unsupported in Colab
Would you please help me?
Hi @sooolee,
I just tried with the work-around and it is still working for me. Is yours failing when you run the second cell? I do see an error about pip’s dependency resolver, but it doesn’t seem to cause any issues when running the rest of the cells in the colab.
This is a good reminder, too. I’ll check with the development team to see how the official fix is coming along.
Hi, I am facing this error: UnknownError: 2 root error(s) found.
(0) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[node Gs_1/_Run/Gs/G_synthesis/4x4/Conv/Conv2D (defined at /usr/local/lib/python3.7/dist-packages/tensorflow_core/python/framework/ops.py:1748) ]]
[[Gs_1/_Run/saturate_cast/_2843]]
(1) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[node Gs_1/_Run/Gs/G_synthesis/4x4/Conv/Conv2D (defined at /usr/local/lib/python3.7/dist-packages/tensorflow_core/python/framework/ops.py:1748) ]]
0 successful operations.
0 derived errors ignored.
I’m not able to reproduce the issue. Can you bring up the colab again, make the change above, and then try choosing “Run all” from the Runtime menu to check if you’re still seeing the issue?