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

backprop_unit in get_sens_map() is larger than diffs #10

Open
willSapgreen opened this issue Jul 26, 2018 · 0 comments
Open

backprop_unit in get_sens_map() is larger than diffs #10

willSapgreen opened this issue Jul 26, 2018 · 0 comments

Comments

@willSapgreen
Copy link

willSapgreen commented Jul 26, 2018

Hello,

when testing 'googlenet' netname = 'googlenet'

and 'conv1/7x7_s2' or other layers, blobnames = ['conv1/7x7_s2']

I got

diffs[0][backprop_unit] = net.blobs[backprop_layer].data[0,backprop_unit] IndexError: index 416027 is out of bounds for axis 1 with size 1000

The program works when choosing 'prob' layer. blobnames = ['prob']

The testing image is 'n02917067_1599.jpg' provided by @lmzintgraf .

Can anyone who makes other layers work help me?

Thank you for precious time on my question.

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

1 participant