Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using my own Data #3

Open
efaillac opened this issue Apr 15, 2019 · 3 comments
Open

Using my own Data #3

efaillac opened this issue Apr 15, 2019 · 3 comments

Comments

@efaillac
Copy link

Hello,

I've gotten the training, testing and plotting to work on my own set-up and have recreated your results. I see that the data PDE-Net is trained with is generated in the pdedata.py file. What is the best way to incorporate my own data and how do I feed it to PDE-Net?

Additionally, in PDE-Net 2.0 it is demonstrated that an actual equation can be output. How can I get PDE-Net to output the approximate PDE? Is there code available for PDE-Net 2.0?

@StillerPatrick
Copy link

The code for PDE-Net 2.0 is stored in branch PDE_Net 2.0

@ZichaoLong
Copy link
Owner

What is the best way to incorporate my own data and how do I feed it to PDE-Net?

Insead of applying PDE-Net (2.0) directly to your own problems, I recommand you to build your own codes upon the basic extension library aTEAM for further reseach.

Additionally, in PDE-Net 2.0 it is demonstrated that an actual equation can be output. How can I get PDE-Net to output the approximate PDE? Is there code available for PDE-Net 2.0?

See burgersdebug.py. We create(or load) a model, and print the analytic form of the learned PDE from the learned model. For example:
for poly in model.polys:
termsym,coeffssym = poly.coeffs(calprec=8)
print(termsym[:8])
print(coeffssym[:8])

@yangheart
Copy link

Dear Zichao Long,

I tried to run burgersdebug.py. But the error I got like below:
FileNotFoundError: [Errno 2] No such file or directory: 'checkpoint/burgers-frozen-upwind-sparse0.005-noise0.001/params/block-9-xopt-final'

How can I fix it?
Is it the wrong file I run in the beginning? if this file should not be the first one, which file should I start to get the same plots about burgers from the paper?

Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants