Closed IcecreamArtist closed 1 year ago
I had the same problem, and couldn't seem to make it work locally either. However, I found a solution to make it work locally using conda:
conda create -n "MyEnv" python=3.6 ipython
conda activate MyEnv
pip install tensorflow-gpu==1.15
pip install lucid
python -m ipykernel install --user --name="featViz"
Then open jupyter notebook and selecting the MyEnv as a kernel did the trick.
Thank you for your reply.
Finally I found that there is no cudnn7 built in colab, which supports the tensorflow1.xx. Therefore, using Lucid in colab becomes impossible.
Thanks for your method, but I do not have enough computational power locally.
However, I found that Lucid can be used in Kaggle engine, and it works.
Tensorflow1 is currently not supported in colab, as stated in the error message. Unfortunately, lucid does not support tensorflow2 currently.
So is there still a way to use Lucid in colab?
Error message when running
%tensorflow_version 1.x
in colab:I have tried using a way introduced in https://stackoverflow.com/questions/73215696/did-colab-suspend-tensorflow-1-x to downgrade the tensorflow in colab, but it raises an error that lucid is not installed correctly.