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

Setting Custom Initial Weights in a Neural Network #1771

Open
saltinefarmer opened this issue Jun 13, 2024 · 1 comment
Open

Setting Custom Initial Weights in a Neural Network #1771

saltinefarmer opened this issue Jun 13, 2024 · 1 comment

Comments

@saltinefarmer
Copy link

Hello,

I am writing a basic neural network and I want to specify all the weights that each layer starts with. These weights will naturally change as the network trains, all I care about is how they start off. Is there a way to do this?

@praksharma
Copy link
Contributor

yes you can but it a really bad idea. You have to manually created a class for weight and then add it to deepxde's source code. https://stackoverflow.com/q/66724071/14598633

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