Open mattragoza opened 2 years ago
Thank you for the quick response. You are correct- I cloned the master branch of the git repo instead of using pip or conda. After pulling your recent changes, I was able to get a few examples to work using PyTorch.
However, it seems that there are some features missing in the PyTorch backend as well, for instance the inverse Poisson problem example uses PFNN (parallel networks) which is only implemented in the tensorflow v1 backend. I would love to contribute a PyTorch implementation as a first contribution.
I have opened a pull request #667 with a pytorch implementation of PFNN that allows running the inverse Poisson problem and time-independent reaction-diffusion examples using the pytorch backend.
Hello, this looks like a really cool library that I would love to use in my research. However, I am not able to run the provided example code using either the PyTorch or JAX backend. Specifically, here are the errors I run into with
examples/pinn_forward/ode_system.py
:For PyTorch backend:
And for JAX backend:
I think the JAX error is due to incomplete support for the JAX backend, in which case I would love to know how to contribute and what the estimated amount of effort/complexity it would be to fully support JAX.
As for the PyTorch error, I don't think I understand enough about this library to debug the problem. Could you provide any pointers?
Thank you.