Geo-SAM and colab
aloboa opened this issue · 1 comments
Not having a local GPU, I wonder if the following approach is feasible/advised:
- Run the Geo-SAM python encoder step using colab (eg, modifying https://colab.research.google.com/github/coolzhao/Geo-SAM/blob/dev/GeoSAM-Image-Encoder/examples/geosam-image-encoder.ipynb
- RUn Geo-SAM Segmentation in QGIS (assuming no GPU is needed).
Also, can the encoder Co-pilot be run in colab?
Hi @aloboa ,
Yes, the image encoding process is known to be time-consuming, and we recommend using a high-performance GPU to run the Geo-SAM Encoder. The GeoSAM-Image-Encoder (Python package) is a standalone Python package that does not require QGIS as a dependency. You can directly run the Geo-SAM Encoder in Google Colab. Here is an example notebook: https://colab.research.google.com/github/coolzhao/Geo-SAM/blob/main/GeoSAM-Image-Encoder/examples/geosam-image-encoder.ipynb.
For Geo-SAM Segmentation and Copilot, the performance requirements are not high, and regular CPUs can handle them. They must be run in QGIS for a user-friendly GUI.