Closed hav4ik closed 3 years ago
A lot of distill.pub notebooks are referring to Lucid notebooks on Google Colab, which uses Tensorflow 2. A quick solution is to add %tensorflow_version 1.x workbook magic before importing tensorflow.
%tensorflow_version 1.x
That's correct! There's an open WIP PR, but either way I'll ensure this line gets added to all notebooks soon. (he said on 2021-03-12)
A lot of distill.pub notebooks are referring to Lucid notebooks on Google Colab, which uses Tensorflow 2. A quick solution is to add
%tensorflow_version 1.x
workbook magic before importing tensorflow.