raghakot / keras-vis

Neural network visualization toolkit for keras
https://raghakot.github.io/keras-vis
MIT License
2.98k stars 660 forks source link

when try visualization.saliency that i dont know right parameter. #110

Open ub3132003 opened 6 years ago

ub3132003 commented 6 years ago

sorry , i want to see the hotmap of my layer output 。 i can‘t understand how to use saliency ()。

who can help me!

ub3132003 commented 6 years ago

import vis.visualization vis.visualization.saliency(activation_model,layer_iex= model.layers[1])

ub3132003 commented 6 years ago

TypeError Traceback (most recent call last)

in () 2 import vis.visualization 3 ----> 4 vis.visualization.saliency(activation_model,layer_iex= model.layers[1]) TypeError: 'module' object is not callable
ub3132003 commented 6 years ago

I find the example 。 it not display infomation when my frist open.

keisen commented 6 years ago

Hi, Has your problem solved ?

Example

from vis.visualization import visualize_saliency
visualize_saliency(...)

Doc https://raghakot.github.io/keras-vis/vis.visualization/#visualize_saliency