Created a package to visualize different layers of a keras model for a given image. The package is also hosted as pypi. You can use the package using pip install visualconv
- Initialsise the Layers from visualconv with the model.
visual = visualconv.Layers(model)
- Get the layers that can be visualized in the model.
visual.getLayerNames()
- Select the layer which you want to visualize.
visual.initializeLayer('layer_name')
- Select the image to be visualzied.
visual.output('imagename.format')
Example of a inference:
It is recommended to have the image file in the current working directory.