-
Notifications
You must be signed in to change notification settings - Fork 260
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
visualize weights for colored images? #198
Comments
In a general way, i would like to know if we can use the color information in these kinds of networks. |
I'm not too sure what you mean, do you want to use In general, if you want to use colored images, your data should have the shape samples x color channels x height x width. Color channels should be 3 for colored images. If you have that, you can use the same approach as in the tutorial. |
Thank you for your reply. Thank you in advance |
I don't think plotting the weights in color will give you much additional insights. Why you get black images I can't tell but you should look at whether the values of the image data look reasonable. Regarding tutorials for colored images, I don't know of any. But many Kaggler's used nolearn for computer vision competitions, maybe you can find something in the corresponding forums. |
The plot_conv_activity plots only one figure and in grayscale(even if the input is 3 channels), do you know why? |
In general, |
FWIW, Krizhevsky 2012 has a plot with the filters learned in the first conv layer. |
I think this might be what you are looking for. It is similar to https://gist.github.com/DanChianucci/431b49de8f13789b039e239636cd12c5 conv_weights is expected to be in the shape (N , Ch, H, W)
By default each filter is scaled between 0-1 by channel (global_scale==False). |
Hello,
Is there any other tutorial than MNIST? Is there a tutorial using colored images so that we can see how we can visualize the weights(and other functions) for colored images?
The text was updated successfully, but these errors were encountered: