tensorflow / lucid

A collection of infrastructure and tools for research in neural network interpretability.
Apache License 2.0
4.65k stars 655 forks source link

Google colab switching to default use of Tensorflow 2 on March 27th 2020 #234

Closed Jorbay closed 4 years ago

Jorbay commented 4 years ago

Currently, I believe most notebooks in this project use Tensorflow 1 by default. According to this notebook (I have not yet found a more static source) states that Google Colab will switch to the default use of Tensorflow 2 by this Friday, March 27th 2020.

Thus, because I believe all notebooks in this project do not declare the Tensorflow version explicitly, the notebooks will have to be updated to specify Tensorflow 1 to avoid making possibly broken calls in Tensorflow 2. Instructions for using Tensorflow 1 are given here.

This is expected to be an easy, one-line fix in each notebook. I'm unfamiliar with any more scalable solutions, but one may exist.

abhinavsp0730 commented 4 years ago

Thanks for your concern. Some of the notebooks are now fixed, and rest of will also going to be fixed after merging https://github.com/tensorflow/lucid/pull/245 this PR. Thank you, kindly consider to close this issue.