Confusion of labels and images in labels_shapes_interchangeability.ipynb
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 55/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- jupyter-notebook
调研方向
打开 notebooks/examples/labels_shapes_interchangeability.ipynb,并比较第 11 行附近的介绍性陈述与第 265 行附近展示的转换。检查 return_regions_as_labels=True 如何改变示例,然后更新 notebook 文本或示例,使文档中 shapes 到 labels 的行为得到明确说明,并验证渲染后的教程保持一致。
由索引模型根据 Issue 内容生成。
描述
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?
- 主要语言
- Jupyter Notebook
- 星标
- 67
- 派生
- 26
- 平均合并
- 4 分钟
- 30 天内合并 PR
- 1
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
scverse/spatialdata-tutorials 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 45/100
scverse/spatialdata-tutorials#150 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 45/100
scverse/spatialdata-tutorials#137 ·
-
难度 3/5 1-2 天 新手友好度 35/100
scverse/spatialdata-tutorials#110 ·
-
难度 4/5 3-5 天 新手友好度 30/100
scverse/spatialdata-tutorials#106 ·
-
难度 2/5 1-3 小时 新手友好度 30/100
scverse/spatialdata-tutorials#40 · 1 条评论 ·
查看 scverse/spatialdata-tutorials 的全部 Issue
相似的 Issue
-
sync-en
难度 1/5 1-3 小时 新手友好度 85/100
-
affects/8.7 affects/8.8 affects/8.9
难度 2/5 1-3 小时 新手友好度 72/100
camunda/camunda-docs#9997 ·
-
bug
难度 1/5 1 小时以内 新手友好度 75/100
sillsdev/languageforge-lexbox#2665 ·
-
难度 1/5 1 小时以内 新手友好度 95/100
-
area:tools priority:p2 type:bug
难度 1/5 1 小时以内 新手友好度 91/100
amichai-bd/nand2mario#939 ·