PredictiveIntelligenceLab / MultiscalePINNs

113 stars 32 forks source link

question about case wave_1d #5

Open FZUcipher opened 2 years ago

FZUcipher commented 2 years ago

@sifanw094 @paraklas Hello developers. First of all, thank you for your ideas and code. Why can't I get Figure 15 in the paper when I run wave_1d code? Is it because adaptive weights have not been added? Should I look at reference [6]? image

sifanexisted commented 2 years ago

Hello,

Yes, the result is expected. Please see the comment in our code

# Define model
# Wave1D_NTK: Plain MLP with NTK adaptive weights
# Wave1D_NTK_mFF: Multi-scale Fourier feature network with NTK adaptive weights
# Wave1D_NTK_ST_mFF: Spatial-temporal Fourier feature network with NTK adaptive weights

If you use the model Wave1D_NTK_ST_mFF, then it should work.