Coder Social home page Coder Social logo

Comments (7)

giswqs avatar giswqs commented on June 4, 2024 1

Unfortunately, the interactive GUI requires ipyleaflet and ipyleaflet. Folium is very limited. It can't handle user input.

If you just need to display the image and segmentation results, you can still use the folium backend.

I would suggest you use Colab before the ipyleaflet issue is resolved in Kaggle.

from segment-geospatial.

giswqs avatar giswqs commented on June 4, 2024 1

It used to work. I have not used it recently. Need sometime to look into it

from segment-geospatial.

openSourcerer9000 avatar openSourcerer9000 commented on June 4, 2024

I tried google Colab first but I wasn't able to get a working environment setup. After installing samgeo and its dependencies in a GPU session, the notebook was no longer able to access the GPU (torch.cuda.is_available() Returns false). Seeing a similar issue in the Colab repo, they say they only maintain the base environment and anything else it's up to you to configure the packages correctly. While still trying to debug this, Colab locked me out of GPU sessions, which is when I tried switching to Kaggle.

This is where I left off; If you know how to get a working environment with samgeo and cuda in Colab that would be a big help:
https://colab.research.google.com/drive/1oO6MCY15pCVJdrY0db9S2vbFKyKGY-6O?usp=sharing

from segment-geospatial.

giswqs avatar giswqs commented on June 4, 2024

did you try pip install segment-geospatial on Colab?

from segment-geospatial.

openSourcerer9000 avatar openSourcerer9000 commented on June 4, 2024

Ah thanks that's much simpler and it does work. When I click segment in the interactive window, it does run the model, but it won't show the output segmentation layer on the map. Have you seen it work in Colab?

from segment-geospatial.

openSourcerer9000 avatar openSourcerer9000 commented on June 4, 2024

The only environment that I've gotten the segmentation to work reliably is jupyterlab. However, the save button doesn't seem to work in jupyterlab. Is there a way to access the layer from code? The following commands hit javascript errors:
image

from segment-geospatial.

giswqs avatar giswqs commented on June 4, 2024

Have you tried it on Google Colab? Did it work? I have not encourtered this issue before. Can you provide a notebook that can reproduce the issue?

from segment-geospatial.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.