lu-group / deeponet-fno

DeepONet & FNO (with practical extensions)
Other
202 stars 41 forks source link

Learn multi-variable system #18

Open ZhousLab opened 6 months ago

ZhousLab commented 6 months ago

Hi Prof. Lu,

Thank you for your great code and dataset.

I want to apply deeponet to a multivariate system (e.g. containing u,v,p and others). How can I organize data and input them? For example, I'm using CartesianDeepONet, current data input for branch net is (n_samples, n_spatial_dims), how can I add more variables to it?

Thank you!

lululxvi commented 5 months ago

Check multi_output_strategy at https://deepxde.readthedocs.io/en/latest/modules/deepxde.nn.tensorflow.html#module-deepxde.nn.tensorflow.deeponet