Comments (1)
One way might be to use hard constraints - see here for an example: https://github.com/benmoseley/FBPINNs/blob/main/examples/2.%20Using%20hard%20constraints%20-%201D%20harmonic%20oscillator.ipynb
For example, if you want to restrict the solution to the range 0-1, you could pass the output of the network through a sigmoid function.
from fbpinns.
Related Issues (20)
- About the dataset HOT 1
- functioning of sample constraints HOT 2
- problem with non-constant boundary condition HOT 3
- Modify plot_trainer
- Definition of Helmholtz Equations HOT 1
- no attribute 'cost_analysis' in training HOT 3
- how to use it in an irregular domain
- Higher-Order Gradient Derivative Problem HOT 2
- problem with PINNTrainer and CUDA
- some confusion about unormalization HOT 1
- Installation Issue of FBPINN HOT 2
- inference function HOT 1
- Running Error HOT 3
- Modifiying the wave 3D Problem HOT 4
- running error HOT 1
- Wavefield "c" Value HOT 3
- Environment Setting HOT 1
- Empty gradient when the dim of u is 2 HOT 1
- Run Error, need help! HOT 8
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 fbpinns.