Comments (18)
- All collocation points over domain and boundary points have been chosen simultaneously for learning-purpose
- Backward pass invoked after completely exhausting the training points.
from deepxde.
Thanks Lu,
- During Backward pass, how did you deal with the term of gradients wrt input value.
I mean, only once the backward pass has been taken care and during gradient calculation of cost function wrt parameters (during back pass) would definitely include gradient of cost fn wrt input variable , then which input variable has been taken care for single back pass.
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.
from deepxde.
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 tf.gradient()
. You may check the details of computing the total losses here:
Line 47 in 688cae0
Hope this helps.
from deepxde.
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.
from deepxde.
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.
from deepxde.
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
from deepxde.
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.
from deepxde.
from deepxde.
Hey , SanjuSoni
I have some doubts regardiing how to use boundary conditions when outputs are more than one?
from deepxde.
I am not getting your point
- r u asking about computation point of view
OR - Coding point of view
from deepxde.
Coding point of view. I have doubt in neumann condition i.e if the condition is directly not on the independent variable y .
Suppose in piezoelectric cantilever beam, the neumann condition is not on displacement but on stress. I have pde on displacement and voltage as independent variable with rectangular geometry
from deepxde.
from deepxde.
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?
from deepxde.
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.
from deepxde.
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 component
keyword argument. See class BC
for how to use it.
from deepxde.
I can share the problem along with the code. May you help with it?
from deepxde.
@Rajat735 @smao-astro @sanjusoni Let us continue the discussion at #31
from deepxde.
It sounds good that @lululxvi @smao-astro who is profound in this field, acting on this problem.
I am also learning this type of problem.
Thanks @lululxvi @smao-astro
from deepxde.
Related Issues (20)
- Heat conduction equation with contact boundary and output-dependent parameters. HOT 3
- L-BFGS iteration records HOT 2
- How do I train pideepon with my own data? HOT 2
- How to solve inverse problem with parameters in the boundary condition? HOT 6
- Custom optimizer in deepxde HOT 1
- use a list of output layer in the PFNN HOT 2
- ValueError: all the input array dimensions except for the concatenation axis must match exactly, but along dimension 1, the array at index 0 has size 4 and the array at index 1 has size 1
- No penetration Boundary condition HOT 2
- ZCS support for PINNs HOT 4
- Wave equation in a rectangular duct (waveguide)
- .
- L-BFGS HOT 1
- data files for deeponet examples HOT 1
- After I installed DeepxDE, guide the error JSON problem, and replace the deepxde version of the error error。json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 15 (char 14) HOT 3
- May I use the function like PointSetBc in physics-informed deeponet to feed some data for the model? HOT 1
- Specifying Dirichlet boundary condition using PointSetBC
- AttributeError: `dense` is not available with Keras 3. HOT 5
- How to set boundary condition which includes two PINN outputs
- Order of boundary points in on_boundary - Does it match the order in boundary_points argument of PointCloud? HOT 8
- For the L-BFGS optimizer, parameter "maxiter" should not be used to define the number of loops on data HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deepxde.