Git Product home page Git Product logo

Comments (1)

skoohy avatar skoohy commented on June 12, 2024

Hello,

i wanted to ask what the reason was that you combine Tensorflow and Pytorch. Would it have been possible to write the whole code in PyTorch only?

Hi,

Yes, it is possible to write the code in PyTorch only, that is what we did for the Klein-Gordon and Burgers' equation, only the Allen-Cahn equation uses both PyTorch and TensorFlow. We did this because we ran into issues training the full/vanilla PINN on the Allen-Cahn equation which is documented in various PINN papers. We ran into the SA-PINN paper (https://arxiv.org/abs/2009.04544) which builds an adaptive PINN to solve the Allen-Cahn equation. The SA-PINN was written in TensorFlow and the GPT-PINN code began in PyTorch. Instead of rewriting the entire SA-PINN code in PyTorch, we combined the two models so they could work in unison.

Hope this answers your question.

from gpt-pinn.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.