Open khc800 opened 8 months ago
Is it exactly this example file that you're using? https://github.com/AmirMardan/PyFWI/blob/main/example/gradient_example.ipynb
Could you please specify your system and the version of pyopencl that you use?
Also, before calling d_obs = W.forward_modeling(model, show=False)
, please print W.nt
and let me know what value you get.
Hello, I have exactly the same problem with the basic example in the documentation. I am running the code in Google Collab. Below is the requested data:
W.nt: 1400 OS: Linux-Ubuntu 22.04.3 LTS PyOpenCL: 2024.1
Hello, I have exactly the same problem with the basic example in the documentation. I am running the code in Google Collab. Below is the requested data:
W.nt: 1400 OS: Linux-Ubuntu 22.04.3 LTS PyOpenCL: 2024.1
Please uninstall the package and install the new version from issue_11
repository. If it works, I will merge this branch to dev
and finally main
.
So, before loading PyFWI, run these two lines in a cell,
!pip uninstall -y PyFWI
!pip install git+https://github.com/AmirMardan/PyFWI.git@issue_11
It worked for me thank!
Hi Amir, In the example code:
When I run the code, I keep receiving this error: