Confusion of labels and images in labels_shapes_interchangeability.ipynb
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 55/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- jupyter-notebook
- Ambito
- documentation
Direzione di ricerca
Apri notebooks/examples/labels_shapes_interchangeability.ipynb e confronta l’affermazione introduttiva vicino alla riga 11 con la conversione mostrata vicino alla riga 265. Verifica in che modo return_regions_as_labels=True modifica l’esempio, quindi aggiorna il testo del notebook o l’esempio in modo che il comportamento documentato da shapes a labels sia esplicito e verifica che il tutorial renderizzato sia coerente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I just went through the vectorization/rasterization tutorial.
What I found confusing is that it starts by claiming to convert between shapes and labels:
https://github.com/scverse/spatialdata-notebooks/blob/7ce65b2f8a291fa21fdb1542b91518378726b51d/notebooks/examples/labels_shapes_interchangeability.ipynb#L11
But then, later, shapes are not converted to labels, but to images:
https://github.com/scverse/spatialdata-notebooks/blob/7ce65b2f8a291fa21fdb1542b91518378726b51d/notebooks/examples/labels_shapes_interchangeability.ipynb#L265
I wanted to convert shapes to labels, but it took me a while to realize I needed to set return_regions_as_labels=True.
I imagine that converting from shape to label is needed more often, because then you can use the labels to aggregate. Would it make sense to update the example to conversion into labels instead of images?
- Lingua principale
- Jupyter Notebook
- Stelle
- 67
- Fork
- 26
- Merge medio
- 4m
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di scverse/spatialdata-tutorials
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
scverse/spatialdata-tutorials#150 · 1 commento ·
-
Intro notebook not in docs Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
scverse/spatialdata-tutorials#137 ·
-
Update Xenium dataset Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
scverse/spatialdata-tutorials#110 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
scverse/spatialdata-tutorials#106 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 30/100
scverse/spatialdata-tutorials#40 · 1 commento ·
Tutte le issue di scverse/spatialdata-tutorials
Issue simili
-
sync-en
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
-
sync-en
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
-
Перевод устарел
Difficoltà 1/5 1-3 ore Idoneità per principianti 78/100
-
affects/8.7 affects/8.8 affects/8.9
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
camunda/camunda-docs#9997 ·
-
Website Doc Typo Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100