Closed tianyu0523 closed 5 years ago
The cause of this issue is the bug of vis.utils.utils.get_imagenet_label()
or file placement.
It should be fixed.
However, @tianyu0523, If you need to run the examples immediately,
Please do it on environment that keras-vis isn't installed via pip
.
Actually, 'get_imagenet_label()' does not exist in the file '\keras-vis\vis\utils\utils.py'. Could you please tell me how to install the keras-vis? @keisen
Umm...
get_imagenet_label()
was renamed lookup_imagenet_labels()
in below commit.
And, This issue is existing in lookup_imagenet_labels()
. maybe.
Could you please tell me how to install the keras-vis? @keisen
I did as follows.
$ git clone https://github.com/raghakot/keras-vis.git
$ cd keras-vis
$ pip install .... # other than keras-vis
$ jupyter notebook
In addition, the following code was added to the first line of the first code cell of example.
import sys
sys.path.append('../../')
It's not smart, haha.
Sorry, I had not answered your question accurately. I install keras-vis as follows when I don't use example.
pip install git+https://github.com/raghakot/keras-vis.git@#{commit-id}
when I run the 'keras-vis/examples/vggnet/activation_maximization.ipynb', the error happens when it reaches the part in the following pictures
![2](https://user-images.githubusercontent.com/25603473/43457618-151420da-94d0-11e8-86a5-a8129f15b6f5.png)