Comments (3)
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.
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.
from deepwave.
Related Issues (20)
- cannot find -lcudart HOT 13
- CUDA out of memory when running Reverse-Time Migration of Marmousi example HOT 2
- ModuleNotFoundError: No module named 'deepwave' HOT 4
- optimizer selection question HOT 3
- TypeError: 'module' object is not callable HOT 9
- Asking for Propagator function in the newest version of Deepwave HOT 3
- Error in executing deepwave in MAC HOT 17
- How to calculate RTM using deepwave HOT 11
- Try the first-order acoustic equation propagation HOT 2
- scalar_born memory issue HOT 4
- 3D forward modelling HOT 5
- Incorrect output from DistributedDataParallel HOT 6
- It seams the scalar function cannot generate the ground roll when setting the free surface HOT 4
- Calculated Hessian for the elastic example. It gives zero values HOT 2
- I was unable to complete compilation HOT 5
- Apply deepwave to ultrasound HOT 13
- Generate the waveform data HOT 3
- How can I get the file called scalar2d_gpu_iso_4_float and scalar2d_gpu_iso_4_float.cp38-win_amd64 HOT 3
- How to write a propagator by scalar with the newest version HOT 3
- looked at the source code HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deepwave.