Project-MONAI / Project-MONAI/tutorials
Data preparation for MAISI tutorial is wrong for non-RAS data
未关闭
还没有人认领这个 Issue。
- 主要语言
- Jupyter Notebook
- 星标
- 2.5k
- 派生
- 803
- 平均合并
- 6 天 22 小时
- 30 天内合并 PR
- 3
描述
In the data preparation, the plain_transforms uses monai.transforms.Orientationd(keys="image", axcodes="RAS"), to reorient the image, but the new dimension is set using plain_transforms({"image": os.path.join(args.data_base_dir, filepath)})["image"].meta["dim"][_i] which has the original dimension, not the new dimension.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 generation/maisi/scripts/diff_model_create_training_data.py 大约第 199 行开始,检查 plain_transforms 如何在记录维度之前重新定向非 RAS 图像。验证用于训练数据准备的维度反映了重新定向后的图像,然后运行 tutorial 中可用的数据准备检查,以确认非 RAS 输入会生成正确的维度。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- machine-learning
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 55/100