-
Notifications
You must be signed in to change notification settings - Fork 753
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
Intermediate Steps Included for Computation #35
Comments
|
Thanks Lu,
I am confused at this place because all training points have been exhausted in single forward pass and Only once the backward pass has been taken for parameters update then which input value will be playing a role for calculating gradients of cost function. |
There are two gradients to be computed: the gradient of loss wrt weights, and the gradient of network output wrt network inputs. The second gradient is computed by calling Line 47 in 688cae0
Hope this helps. |
Thanks, lu, you have cleared my doubts, kindly give some reference for scaling a physical problem, I mean, while coding in DeepXDE, one module is dedicated for SCALING of output value. Can you suggest or give some reference for calculating the scale of a problem. bcz, while simulation, the output result totally changing when the parameter of scale values are changing drastically. |
The scaling usually requires the understanding of the PDE, e.g., what physical process the PDE describes. Or one can use dimensional analysis. Yes, the PDE solution could totally change when the parameters are changed, so the understanding of the PDE is very useful. |
You mean Non-Dimensionalization process and dimensional analysis etc. Do you have any numerically calculated value for a simple problem that fulfill the scale analysis requirement in DEEPXDE. I mean how final scale values are coming. It may help me a lot if you can give me reference or any example. Thanks |
Sorry I don't have any reference. DeepXDE does not have specific requirement for this. The only reason is that if the scale is too large or too small, the network optimization is hard. The solution is problem dependent. If you have any specific problem, we can discuss case by case. |
That's great. You have answer my problem very well
thanks and I'll ask you if I get any issue ahead.
…On Mon, 4 May, 2020, 1:05 AM Lu Lu, ***@***.***> wrote:
Sorry I don't have any reference. DeepXDE does not have specific
requirement for this. The only reason is that if the scale is too large or
too small, the network optimization is hard. The solution is problem
dependent. If you have any specific problem, we can discuss case by case.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#35 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOXU37YFPLRBAH6JR75M3MTRPXBQHANCNFSM4MXWNRGQ>
.
|
Hey , SanjuSoni |
I am not getting your point
|
Coding point of view. I have doubt in neumann condition i.e if the condition is directly not on the independent variable y . |
Hi @Rajat735 , I am wondering are you talking about coupled PDE problems, or you want to implement a specific boundary condition other than DirichletBC and NeumannBC? Would the example: examples/Lorenz_inverse.py help? |
Yes, I am talking about coupled PDE which i have to solve using machine learning. In this I have a boundary condition on the right surface of the cantilever beam as normal derivative of stress is equal to traction force . I am stuck in implementing this boundary condition. |
Sorry I do not know the exact form of your boundary condition, just a hint: since this is coupled PDE problem, which means let's say you have 4 unknowns, you perhaps want to specify the boundary conditions for each unknowns using |
I can share the problem along with the code. May you help with it? |
@Rajat735 @smao-astro @sanjusoni Let us continue the discussion at #31 |
It sounds good that @lululxvi @smao-astro who is profound in this field, acting on this problem. Thanks @lululxvi @smao-astro |
I want to know about the intermediate steps included for computing PDE using DeepXDE.
how the forward pass is taking place in DEEPXDE. I mean all collocation points over domain and boundary points have been chosen simultaneously for learning-purpose or only a batch of training points have been chosen.
Backward pass invoked after completely exhausting the training points or after every single point backward pass has been invoked.
The text was updated successfully, but these errors were encountered: