Coder Social home page Coder Social logo

Some questions about deepwave about deepwave HOT 3 CLOSED

ar4 avatar ar4 commented on July 25, 2024
Some questions about deepwave

from deepwave.

Comments (3)

ar4 avatar ar4 commented on July 25, 2024 1

Dear Keting,

I am glad that the code was clear enough to be understood by someone else, and that you agree that the PML works adequately well.

It certainly should be possible to extend the code to work with any other finite difference wave propagator. When I wrote Deepwave I originally planned to do that, and so designed it in a way that I hoped would make it easy to add other propagators, but I moved onto other projects after doing the scalar wave equation case and haven't had time to add any more since then.

You are correct that Deepwave does not use PyTorch's RNN to perform the finite difference steps. The effect will be the same, but by manually controlling the finite difference forward and adjoint calculations I am able to get better computational performance and reduce the memory cost. Deepwave does still use the fact that wave propagation is a differentiable operation just like others used in deep learning networks, and uses this to integrate it into PyTorch. Wrapping the compiled finite difference code as a PyTorch module provides the advantage of being able to include wave propagation in a series of differentiable operations and easily forward and backpropagate through all of them, for example to add a fancy objective function to the output of wave propagation and let PyTorch's automatic differentiation work out how to backpropagate through the combination of both operations.

from deepwave.

guoketing avatar guoketing commented on July 25, 2024

Dear Alan,

Thank you for your reply, I have the idea that maybe I can extent the deepwave using other finite difference wave propagator and improve the deepwave module. I will try to find the way to extend to wave case. I appreciate you helping me so much. If there is anything I can help you, I will try my best to do it.

from deepwave.

ar4 avatar ar4 commented on July 25, 2024

from deepwave.

Related Issues (20)

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.