i207M / PINNacle

Codebase for PINNacle: A Comprehensive Benchmark of Physics-Informed Neural Networks for Solving PDEs.
https://arxiv.org/abs/2306.08827
MIT License
211 stars 37 forks source link

How to open the dat file? #8

Open SunNorean opened 4 months ago

SunNorean commented 4 months ago

Hello Authors, How to open the dat file under the ref file? Thank you.

i207M commented 1 month ago

Hi SumNorean, Sorry for the late reply. You can open the dat file with a text editor; it uses numpy's txt format. To load it, use np.loadtxt("burgers1d.dat",comments='%',encoding='utf8'). A similar question was discussed in #7.