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

Computing influence on a CNN #12

Closed
Eoli-an opened this issue May 29, 2019 · 2 comments
Closed

Computing influence on a CNN #12

Eoli-an opened this issue May 29, 2019 · 2 comments

Comments

@Eoli-an
Copy link

Eoli-an commented May 29, 2019

Hello,

I want to find the most influential training images for a CNN I created. Is there a way to accomplish this without reproducing my layer structure in your code and then retraining?

I was thinking about just copying the weights in the calculation process of the influence, but could not work out how to do this.

I would be very grateful if someone could get me a hint. Thanks in advance!

@Eoli-an Eoli-an closed this as completed Jun 12, 2019
@Kunlun-Zhu
Copy link

Have you done it? Could you share how you do it?

@Eoli-an
Copy link
Author

Eoli-an commented Jun 15, 2019

Sure. You will have to change the ig4_rbf_vs_inception.ipynb to include a CNN. They already included a CNN (all_CNN_c.py) which you can just use. In order to use your own CNN you have to change the inference function in all_CNN_c. The structure is just a basic tensorflow graph, you can look up the structure in your online tutorial of choice.

You may also have a look at my fork of the project in which I changed the code in order to fit my CNN.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants