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

How to isolate a particular hidden layer result, in a CNN? #6

Open
capn-freako opened this issue Oct 5, 2017 · 6 comments
Open

How to isolate a particular hidden layer result, in a CNN? #6

capn-freako opened this issue Oct 5, 2017 · 6 comments

Comments

@capn-freako
Copy link

Referring to Lars' MNIST.hs example, and given this layout of a CNN:

    c = reLULayer
      . cArr (Diff toVector)
      . (convolution (Proxy :: DP.Proxy 7) 3 reLULayer :: Component (Volume 28 28 1) (Volume 8 8 8))
      . cArr (Diff fromMatrix)

what's the best way to make one of the 8 8x8 convolution results available to the reporting pipe?

I'd like to have the reporting pipe dump this "image" every so often, so I can see the convolution kernels "tuning" themselves to certain image features.

Also, am I correct in assuming that I'll fail if I try to brute force this by picking apart the model component, via pattern matching, due to the existentially hidden shape of the model parameter set?

@brunjlar
Copy link
Owner

brunjlar commented Oct 15, 2017 via email

@capn-freako
Copy link
Author

capn-freako commented Oct 19, 2017 via email

@capn-freako
Copy link
Author

capn-freako commented Oct 21, 2017 via email

@capn-freako
Copy link
Author

capn-freako commented Oct 21, 2017 via email

@capn-freako
Copy link
Author

capn-freako commented Oct 21, 2017 via email

@brunjlar
Copy link
Owner

brunjlar commented Oct 22, 2017 via email

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