Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature visualization #687

Open
ghylander opened this issue Feb 24, 2021 · 4 comments
Open

Feature visualization #687

ghylander opened this issue Feb 24, 2021 · 4 comments

Comments

@ghylander
Copy link

ghylander commented Feb 24, 2021

add feature visualization to netron

you select/upload a image from the file system. When you sleect a layer, netron displays the features that maximise the activation of the selected layer

based on the following research paper:
https://arxiv.org/pdf/1311.2901.pdf

there was a similar repo (https://github.com/keplr-io/quiver), but it was written for tensorflow 1 and it fails to construct valid maps of the models constructed with modern tools

this might be network-specific, so maybe implement slowly?

@lutzroeder lutzroeder changed the title feature visualization Feature visualization Feb 24, 2021
@lutzroeder
Copy link
Owner

@ghylander can you implement this and submit a pull request.

@ghylander
Copy link
Author

ghylander commented Feb 24, 2021

i can try to implement the feature visualization itself for caffe and maybe keras models, but i lack the knowledge to do the front end stuff (select file, show activations on the app in the layer information tab)

@lutzroeder
Copy link
Owner

lutzroeder commented Feb 25, 2021

@ghylander how would this work for Caffe or Keras running in the browser and without a Python backend? Can you make sure this works for all frameworks.

@ghylander
Copy link
Author

ghylander commented Mar 5, 2021

ah i see, yes, it wouldn't be possible to have it runing in the browser, since deconvolution/gradient ascent operations are required
i'm developing the feature visualization for keras models using Francois Chollet's "Deep learning with python" book as reference
this implmentation requires use of python and keras as the user is basically running the model in inference model
reagarding all the frameworks, it would require a lot of work
as i'm sure you know, each frameworks does things in their own way. Feature visualization in caffe models is not the same as in keras. They dont have the same functions, models are structured differently...
it would require a per-framework function

Repository owner deleted a comment Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants