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

ModuleNotFoundError: No module named 'tensorflow.contrib' #247

Closed greatsharma closed 4 years ago

greatsharma commented 4 years ago

Just watched the video of AI-Adventures by google on Lucid and I am want to use it. I build a minimal 2 layer CNN using keras and want to use lucid to visualize it. I pip install lucid and then on importing import lucid.optvis.param as param I am getting the following error,

ModuleNotFoundError: No module named 'tensorflow.contrib'

I also want to know how to use it with keras?

tf = 2.2.0-rc3 keras = 2.3.1

I am using colab.