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

Getting activations instead of weights #11

Open
ZohrehShams opened this issue Dec 4, 2019 · 0 comments
Open

Getting activations instead of weights #11

ZohrehShams opened this issue Dec 4, 2019 · 0 comments

Comments

@ZohrehShams
Copy link

I'm trying to get the activation values of neurones for each layer and store them. I have tried many variations of dense_layer method in mode_base, so that I can store activations in a dictionary, just like the way weights are stored for each layer. But given that unlike weights the dimension of activation depends on the batch size and therefore unknown before training, all my attempts have failed - including those that define a dynamic size tf variable. Is there any other way of layer-wise activation extraction that I can try? Thanks.

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