Comments (8)
a
is the initial time step. u
is the full 50 time steps. In this setting, we are giving the first 10 time steps to predict the next 40 time steps, so both the input and output are read from u
. Sorry for the confusion.
from neuraloperator.
Sorry the commented code in the end is a bit outdated. (1) Yes, the normalizer is not needed. (2) please copy the test code for the validation (line 287-310) to do the testing. For this time series version, it needs an additional for-loop in time. The input is the first 10 timesteps, and for each iteration, it should predict the next time step.
from neuraloperator.
For your information, the dataset NavierStokes_V1e-5_N1200_T20.zip meaning viscosity v = 1e-5, which is the most challenging case. It's better to start with the V1e-3 dataset.
from neuraloperator.
Ah ok I managed to run the V1e-3 on fourier_3d.py
. Is it normal though that:
train_a = reader.read_field('u')[:ntrain, ::sub, ::sub, :T_in]
train_u = reader.read_field('u')[:ntrain, ::sub, ::sub, T_in:T_in+T]
(l. 223-224, l. 227-228) i.e. I would expect read_field('a')
for train_a
for instance. Matlab shows that the dataset is split into the fields a
, u
, t
hence my concern
from neuraloperator.
Hi, nice work. I am trying to simulate the NS problem with fourier_2d_time.py using ns_V1e-4_N10000_T30.mat data. I want to generate figures similar to Fig. 1b in the paper. For this do I plot the variables yy and pred (from the bottom of fourier_2d_time.py)?
Also, how to choose modes and width in fourier_2d_time.py? I use modes = 24 and width = 64. You have modes = 12 and width = 20 as default. Do these values change?
from neuraloperator.
Thanks. Yes, to get the test case as 1(b) you should use the code at the bottom. But I think this code for fourier_2d_time.py was outdated. You need to copy the validation code in the training period (line 287-231). Yes, you should plot variables yy and pred.
Super-resolution is easier on fourier_3d.py
from neuraloperator.
Hi, I tried both fourier_2d_time and fourier_3d on the Navier-Stokes dataset. However, the predictions are very blurred compared to the ground truth. I am trying to generate results similar to Fig. 1b in the paper. For this, can you please suggest if the default hyperparams in the code (e.g. modes, width, epochs, etc) are set for the Navier-Stokes problem or should they be set to other values. What values were used to generate Fig. 1b results? Thanks!
from neuraloperator.
for fourier_2d_time and the v1e-4, N10000 datatset, please use modes=12, width=32, epochs=200, with the learning rate decay by half for every 40 epochs. fourier_3d, please use modes=8, width=20 instead.
from neuraloperator.
Related Issues (20)
- Is 'x' in darcy flow datasets represents permeability factor or forced function? HOT 2
- Pretrained checkpoints? HOT 1
- Question about out_ft in 1d, 2d models. HOT 1
- The FNO model and its derivative are not consistent. HOT 2
- Fix MLPLinear.forward - don't apply last linearity. HOT 1
- Explicityly Handle Higher-dimensional Convolutions HOT 1
- Bayesian Inverse Problems HOT 1
- FNO for complex-valued spatial data
- NS dataset question HOT 2
- .\neuraloperator\neuralop\training\callbacks.py error HOT 3
- OutputEncoderCallback problem HOT 3
- Inverse Problem in FNO HOT 2
- RuntimeError: The size of tensor a (2) must match the size of tensor b (16) at non-singleton dimension 3 HOT 1
- RuntimeError: The size of tensor a (2) must match the size of tensor b (16) at non-singleton dimension 3
- Fixing gradient backprop in #233
- MLP dropout > 0.5 causes error HOT 1
- DDP wireup requires calling from MPI
- import error in Training a TFNO on Darcy-Flow example HOT 1
- Training the neural operator in 3D spatial domain HOT 3
- Reproducing the published results
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 neuraloperator.