Snapshot of lululxvi/deepxde: 4.5k★, Python, AI Tools. A library for scientific machine learning and physics-informed learning
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
learning from multifidelity data [J. Comput. Phys., PNAS]
DeepXDE supports five tensor libraries as backends: TensorFlow 1.x (tensorflow.compat.v1 in TensorFlow 2.x), TensorFlow 2.x, PyTorch, JAX, and PaddlePaddle. For how to select one, see Working with different backends.
Documentation: ReadTheDocs
Features
DeepXDE has implemented many algorithms as shown above and supports many features:
enables the user code to be compact, resembling closely the mathematical formulation.
complex domain geometries without tyranny mesh generation. The primitive geometries are interval, triangle, rectangle, polygon, disk, ellipse, star-shaped, cuboid, sphere, hypercube, and hypersphere. Other geometries can be constructed as constructive solid geometry (CSG) using three boolean operations: union, difference, and intersection. DeepXDE also supports a geometry represented by a point cloud.
5 types of boundary conditions (BCs): Dirichlet, Neumann, Robin, periodic, and a general BC, which can be defined on an arbitrary domain or on a point set; and approximate distance functions for hard constraints.
3 automatic differentiation (AD) methods to compute derivatives: reverse mode (i.e., backpropagation), forward mode, and zero coordinate shift (ZCS).
different neural networks: fully connected neural network (FNN), stacked FNN, residual neural network, (spatio-temporal) multi-scale Fourier feature networks, etc.
many sampling methods: uniform, pseudorandom, Latin hypercube sampling, Halton sequence, Hammersley sequence, and Sobol sequence. The training points can keep the same during training or be resampled (adaptively) every certain iterations.
4 function spaces: power series, Chebyshev polynomial, Gaussian random field (1D/2D).
data-parallel training on multiple GPUs.
different optimizers: Adam, L-BFGS, etc.
conveniently save the model during training, and load a trained model.
callbacks to monitor the internal states and statistics of the model during training: early stopping, etc.
uncertainty quantification using dropout.
float16, float32, and float64.
many other useful features: different (weighted) losses, learning rate schedules, metrics, etc.
All the components of DeepXDE are loosely coupled, and thus DeepXDE is well-structured and highly configurable. It is easy to customize DeepXDE to meet new demands.
Installation
DeepXDE requires one of the following backend-specific dependencies to be installed:
If you use DeepXDE for academic research, you are encouraged to cite the following paper:
@article{lu2021deepxde,
author = {Lu, Lu and Meng, Xuhui and Mao, Zhiping and Karniadakis, George Em},
title = {{DeepXDE}: A deep learning library for solving differential equations},
journal = {SIAM Review},
volume = {63},
number = {1},
pages = {208-228},
year = {2021},
doi = {10.1137/19M1274067}
}
Contributing to DeepXDE
First off, thanks for taking the time to contribute!
Reporting bugs. To report a bug, simply open an issue in the GitHub Issues.
Suggesting enhancements. To submit an enhancement suggestion for DeepXDE, including completely new features and minor improvements to existing functionality, let us know by opening an issue in the GitHub Issues.
Pull requests. If you made improvements to DeepXDE, fixed a bug, or had a new example, feel free to send us a pull-request.
Asking questions. To get help on how to use DeepXDE or its functionalities, you can open a discussion in the GitHub Discussions.
Answering questions. If you know the answer to any question in the Discussions, you are welcomed to answer.
Slack. The DeepXDE Slack hosts a primary audience of moderate to experienced DeepXDE users and developers for general chat, online discussions, collaboration, etc. If you need a slack invite, please send me an email.
The Team
DeepXDE was developed by Lu Lu under the supervision of Prof. George Karniadakis at Brown University from the summer of 2018 to 2020. DeepXDE was originally self-hosted in Subversion at Brown University, under the name SciCoNet (Scientific Computing Neural Networks). On Feb 7, 2019, SciCoNet was moved from Subversion to GitHub, renamed to DeepXDE.
DeepXDE is currently maintained by Lu Lu at Yale University with major contributions coming from many talented individuals in various forms and means. A non-exhaustive but growing list needs to mention: Paul Escapil-Inchauspé, Zongren Zou, Jialin Li, Saransh Chopra, Sensen He, Vladimir Dudenkov, Anran Jiao, Zhongyi Jiang, Shunyuan Mao.
The most recent commit recorded on lululxvi/deepxde was 3 months ago, based on the GitHub push timestamp. The repository has 1.0k forks — one of the better signals of community interest.
How many stars does lululxvi/deepxde have?
lululxvi/deepxde has 4.5k GitHub stars — refresh the page for the live number, or check github.com/lululxvi/deepxde. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is lululxvi/deepxde open source?
Yes — lululxvi/deepxde ships under the LGPL-2.1 license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/lululxvi/deepxde.
What else is in the AI Tools space?
lululxvi/deepxde is tracked by TopGit under the AI Tools category, alongside 13 GitHub-tagged topics. Trending and Topics pages list peer repositories of comparable stars and language.
What topics is lululxvi/deepxde associated with?
GitHub's repository topics for lululxvi/deepxde: "deep-learning", "deeponet", "jax", "multi-fidelity-data", "neural-network", "operator", "paddle", "pde", "physics-informed-learning", "pinn", "pytorch", "scientific-machine-learning", "tensorflow". TopGit's editorial category is AI Tools.
Where can I see lululxvi/deepxde in action?
The project maintains a homepage at https://deepxde.readthedocs.io. The README tab on this page also usually contains screenshots and a quickstart.
Where do I read more about lululxvi/deepxde?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/lululxvi/deepxde is the definitive source.
Read full README in the tab above.
Want a second opinion on deepxde?
Ask an AI that can read this page — one click and you get its take on deepxde.