-
-
Notifications
You must be signed in to change notification settings - Fork 202
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
Neural Adapter Documentation Example Not Working #824
Comments
@sathvikbhagavan I thought you had just fixed that? |
I’m running two weeks old release don’t know the exact version since I don’t have my laptop rn, if the fix is in updates after that, I’ll update it and try again tomorrow. |
I'm running
The latest release |
Hi, can you tell me what the problem or suggest some solutions so I could try to to solve it locally? Need neural adapter for a project |
Hey, I think I have fixed it in #815 - https://github.com/SciML/NeuralPDE.jl/pull/815/files#diff-9cdb22a5deb20e6c866490a292335fbf406604b23d9a0602a4d230cbf588850e or you can refer to the tests in https://github.com/SciML/NeuralPDE.jl/blob/master/test/neural_adapter_tests.jl |
I'll take a look, thank you! |
Describe the bug 🐞
The Neural Adapter Example is not working
Expected behavior
First it showed a 'variable not defined error' with the 'chain' variable in 'init_params2'.
init_params2 = Float64.(ComponentArray(Lux.setup(Random.default_rng(), chain)[1]))
I then changed it into chain1 and tried again.
Code 👇
Error & Stacktrace⚠️
Environment (please complete the following information):
using Pkg; Pkg.status()
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
versioninfo()
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: