Replies: 5 comments 1 reply
-
Indeed, I can confirm this bug. It runs perfectly locally in VScode or on the command line, but it does not in Google colab. We need to make sure it is not a problem of the pip installation. |
Beta Was this translation helpful? Give feedback.
-
Is there an update on this? Thanks |
Beta Was this translation helpful? Give feedback.
-
As there was no new version, probably not. I guess it is about the mesh generation. The starting model size looks too small, so I am afraid the region marker is lost and the outer region is used for inversion. Have a look at the mesh and check whether such an error also occurs for other examples. |
Beta Was this translation helpful? Give feedback.
-
I have tested with my own data and defining a mesh myself. It fails on Google Collab. It works on my ipython interface |
Beta Was this translation helpful? Give feedback.
-
It seems like you can run it locally using Google Collab. To do so, I think you can use Docker and follow the steps presented here: [https://research.google.com/colaboratory/local-runtimes.html] |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I’m trying to run the official 2D ERT example using PyGIMLi inside Google Colab with Miniconda. Forward modelling works but inversion is stuck: dPhi=0% and jacobian() returns RMatrix: 0 x 0. I tried backend='cg' and installed pyamg.
I used these lines to install PyGimli on Google Colab:
!pip uninstall -y numba tensorflow pytensor thinc
!pip install pygimli tetgen
I Restart the session
I follow step-by-step the 2D ERT modelling and inversion example (https://www.pygimli.org/_examples_auto/3_ert/plot_01_ert_2d_mod_inv.html#sphx-glr-examples-auto-3-ert-plot-01-ert-2d-mod-inv-py)
inv = mgr.invert(lam=20, verbose=True)
#################
Returns
#################
If anyone have the same problem or a solution for it I would be happy to hear it ^^
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions