raghakot / keras-vis

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

cannot import visualize_saliency #20

Closed go-bears closed 7 years ago

go-bears commented 7 years ago

I'm getting this error when trying to import visualize_saliencey

image

I checked the Keras docs and it looks like K.image_data_format() is still valid attribute on the Keras backend. I'm wondering if this might be a Keras 1 to Keras 2 transition issue?

raghakot commented 7 years ago

Yes. This lib is now incompatible with keras < 2.0. I transitioned everything to latest.