pinn_fwi
pinn_fwi copied to clipboard
OSerror at running pinn_fwi.ipynb
Hi,
Thanks for sharing the code with us. I have been trying to run the pinn_fwi.ipynb, but there is an error when I ran the first line of the notebook: OSError: /home/usr/.cache/torch_extensions/py312_cu124/deepwave/deepwave.so: cannot open shared object file: No such file or directory.
My installation includes:
- Uncomment the last line of requirements.txt and run
pip install -r requirements.txt; - Install the deepwave separately and build files from source according to https://ausargeo.com/deepwave/.
Do you have any idea what kind of problems can cause this ?
Best regards, Longying
Hi
This seems an issue with the installation of deepwave and having access to it.
Please try the following line in the terminal to see if your python can import deepwave.
$ python -c "import deepwave"
Hi,
Thanks for the prompt reply. I have tried the command in the terminal and managed to run the first two lines, and then it poped up an 'AttributeError: module 'deepwave' has no attribute 'wavelets' ' (location: Line 134 of config file:deepwave.wavelets.ricker(F_PEAK, NT, DT, 1.5 / F_PEAK)).
However as I tried print(dir(deepwave)), it has wavelets in the list; also, when I try from deepwave.wavelets import ricker, it also didn't complain..