Giter Club home page Giter Club logo

torchwi's People

Contributors

pkgpl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

torchwi's Issues

system

Hi, does this tool work on Windows?

Complex numbers

Use complex numbers for frequency-domain operations (PyTorch version >= 1.6)

command 'g++' failed with exit status 1

Hi, I get the following error when installing TorchWI by command "python setup.py install".
Enviroment: python 3.7, Pytorch 1.9, CUDA Version: 11.2, gcc 7.5, System: Ubuntu 20.04.3 LTS

running install
running bdist_egg
running egg_info
writing torchwi.egg-info/PKG-INFO
writing dependency_links to torchwi.egg-info/dependency_links.txt
writing top-level names to torchwi.egg-info/top_level.txt
reading manifest file 'torchwi.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'torchwi.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
building 'torchwi.propagator.td2d_cpu' extension
Emitting ninja build file /home/usr/FWI/TorchWI/build/temp.linux-x86_64-3.7/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
1.10.2.git
g++ -pthread -shared -B /usr/local/Anaconda33/compiler_compat -L/usr/local/Anaconda33/lib -Wl,-rpath=/usr/local/Anaconda33/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/usr/FWI/TorchWI/build/temp.linux-x86_64-3.7/torchwi/propagator/td2d/td2d_cpu.o /home/usr/FWI/TorchWI/build/temp.linux-x86_64-3.7/torchwi/propagator/td2d/propagator_cpu.o /home/fengw666/FWI/TorchWI/build/temp.linux-x86_64-3.7/torchwi/propagator/td2d/wrapper_cpu.o -L/usr/local/Anaconda33/lib/python3.7/site-packages/torch/lib -lc10 -ltorch -ltorch_cpu -ltorch_python -o build/lib.linux-x86_64-3.7/torchwi/propagator/td2d_cpu.cpython-37m-x86_64-linux-gnu.so
g++: error: /home/usr/FWI/TorchWI/build/temp.linux-x86_64-3.7/torchwi/propagator/td2d/td2d_cpu.o: No such file or directory
g++: error: /home/usr/FWI/TorchWI/build/temp.linux-x86_64-3.7/torchwi/propagator/td2d/propagator_cpu.o: No such file or directory
g++: error: /home/usr/FWI/TorchWI/build/temp.linux-x86_64-3.7/torchwi/propagator/td2d/wrapper_cpu.o: No such file or directory
error: command 'g++' failed with exit status 1

Toy example

Add a toy model to test forward modeling.

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.