-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GeoSAM plugin fails to load ValueError #47
Comments
Hi @klara4390 Did you adhere to the installation steps on https://geo-sam.readthedocs.io/en/latest/installation.html? Besides, please share the full error message to help us diagnose the problem. |
I did - Today QGIS is for some reason able to load the plugin, but the following error message is given when testing segmentation on the beiluhe image. From "python error": |
And similar error when trying to encode an image: Traceback (most recent call last): Execution failed after 9.70 seconds |
This issue appears to stem from an incompatibility between certain versions of PyTorch and NumPy. Unity-Technologies/ml-agents#6010 Try to update or downgrade your NumPy version to see if it works. |
Hi @klara4390 I encountered this issue on macOS as well. I was able to resolve it by updating the versions of cd /Applications/QGIS.app/Contents/MacOS/bin
./pip3 install 'numpy<2' pandas -U |
Hi - I am quite new to using python - so I probably don't have all the necessary details included in the first try - let me know what is missing.
Trying to load the plugin from the QGIS plugin manager gives following error:
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
I am using 3.34.10-Prizren and Python 3.9.5.
Hope someone can help :)
The text was updated successfully, but these errors were encountered: