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

Weight array Access #16

Closed
hugoperlin opened this issue Sep 1, 2014 · 1 comment
Closed

Weight array Access #16

hugoperlin opened this issue Sep 1, 2014 · 1 comment

Comments

@hugoperlin
Copy link

Hi Daniel,
I was looking at the code and trying to figure out how could I get/set the weights/bias for the convolutional layers directly.
Do you known if there is a way to do that?

Thanks.

@dnouri
Copy link
Owner

dnouri commented Sep 1, 2014

ShowConvNet reads weights in a couple of places, e.g. in do_write_features:
https://github.com/dnouri/cuda-convnet/blob/master/shownet.py#L240

Haven't looked at setting the weights manually, but it's bound to happen somewhere between ConvNet.init_model_state and the layers code.

@dnouri dnouri closed this as completed Sep 1, 2014
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