lululxvi / deeponet

Learning nonlinear operators via DeepONet
Other
474 stars 130 forks source link

AttributeError: 'Triple' object has no attribute 'transform_inputs' #32

Open yejiwi opened 1 year ago

yejiwi commented 1 year ago

Hi, I have the same issue as #25 and my code is already modified for the new version. What can I use instead of 'transform_inputs'?

lululxvi commented 1 year ago

Use apply_feature_transform https://deepxde.readthedocs.io/en/latest/modules/deepxde.nn.tensorflow.html#deepxde.nn.tensorflow.nn.NN.apply_feature_transform

Also see examples at https://github.com/lu-group/deeponet-fno