We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Question❓
Hi,
I have a question regarding how to extract the residual vector in NeuralPDEs.jl. The loss function in PINNs is often written as:
$$ \sum_{i=1}^n (r_i(\theta))^2 $$
where $\theta$ are the neural network parameters. The residuals are typically defined as:
Is there a way to obtain the mapping from $\theta$ to the vector $[r_1(\theta), ..., r_N(\theta)]$ using NeuralPDEs.jl?
For reference, I am using the following tutorial: NeuralPDE GPU Tutorial. It seems like I should have all the necessary information after:
@named pde_system = PDESystem(eq, bcs, domains, [t, x, y], [u(t, x, y)]) prob = discretize(pde_system, discretization) symprob = symbolic_discretize(pde_system, discretization)
However, I don't know how to extract the residual vector directly. Any guidance would be appreciated!
Thanks!
The text was updated successfully, but these errors were encountered:
It's a bit hard right now. We need to refactor the parser, which we plan to do over the summer.
Sorry, something went wrong.
No branches or pull requests
Question❓
Hi,
I have a question regarding how to extract the residual vector in NeuralPDEs.jl. The loss function in PINNs is often written as:
where$\theta$ are the neural network parameters. The residuals are typically defined as:
Is there a way to obtain the mapping from$\theta$ to the vector $[r_1(\theta), ..., r_N(\theta)]$ using NeuralPDEs.jl?
For reference, I am using the following tutorial: NeuralPDE GPU Tutorial. It seems like I should have all the necessary information after:
However, I don't know how to extract the residual vector directly. Any guidance would be appreciated!
Thanks!
The text was updated successfully, but these errors were encountered: