Handle instance segmentation by adding second output channel for touching borders

Aperta
#52 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

Inizia leggendo il paper collegato e la checklist dell’issue, concentrandoti sul secondo canale di output proposto e sulla watershed transform. Non sono indicati file o test del repository, quindi è necessario individuare prima i punti di ingresso dell’implementazione. Il lavoro è completo quando il training può produrre touching-border masks e il post-processing separa gli edifici adiacenti in istanze distinte.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

At the moment we don't do instance segmentation. This allows our model to be very simple while still achieving amazing results for our current use-cases. Where it breaks down, though, is use cases like extracting buildings in very densely populated areas.

See for example a quick prototype for Tanzania where the segmentation mask alone can not distinguish between touching buildings.

dense

And while proper instance segmentation models are much more complicated, there is one trick we can pull off based on what the folks in https://arxiv.org/abs/1806.00844 propose.

  • Add a second channel to the output. The first channel will be the segmentation mask as it is right now. The second channel will represent touching features - and only the border between features.
  • Train with ground truth segmentation masks and compute and rasterize borders where features touch.
  • After prediction feed results through the watershed transform to divide touching features into multiple features.

As a result we will get instance segmentation and can distinguish between buildings in the use-case above.

Lingua principale
Python
Stelle
2.1k
Fork
384
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mapbox/robosat

Tutte le issue di mapbox/robosat

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.