TensorFlow中fastMRI数据集的数据管道。

tf-fastmri-data的Python项目详细描述


tf-fastmri数据

Build Status

围绕tf.dataAPI构建,tf-fastmri-data为fastMRI数据集提供了可靠的、经过单元测试的数据集。在

安装

当前,您需要从源安装程序包:

git clone https://github.com/zaccharieramzi/tf-fastmri-data.git
cd tf-fastmri-data
pip install .

示例使用

^{pr2}$

数据

要下载数据,您需要同意列出的fastMRI术语here。 之后,您将收到一封带有数据下载链接的电子邮件。在

然后可以使用环境变量FASTMRI_DATA_DIR来指示fastMRI的位置。 这将允许您在实例化FastMRIDatasetBuilder时不必指定路径。在

火把

这个库的PyTorch等价物就是official fastMRI repository。 尤其是,data folder是您找到数据实用程序的地方。在

基准

可以使用以下命令运行基准脚本:

FASTMRI_DATA_DIR=/path/to/fastmri python benchmark.py

目前,基准给出了以下输出:

Multi coil with tfio loading (random slice): 0.369743709564209s per-file.
Single coil with tfio loading (random slice): 0.02855397939682007s per-file.
Multi coil with h5py loading (random slice, without preprocessing): 0.010439331208042165s per-file.
Single coil with h5py loading (random slice, without preprocessing): 0.0015996736497735258s per-file.
Single coil training with tfio loading: 0.04578723907470703s per-step.

您还可以看到TensorBoard关于单线圈数据集的建议(使用非常简单的模型):

TensorBoard reco

引文

如果您在研究中使用fastMRI数据或此代码,请考虑引用fastMRI数据集论文:

@inproceedings{zbontar2018fastMRI,
  title={{fastMRI}: An Open Dataset and Benchmarks for Accelerated {MRI}},
  author={Jure Zbontar and Florian Knoll and Anuroop Sriram and Matthew J. Muckley and Mary Bruno and Aaron Defazio and Marc Parente and Krzysztof J. Geras and Joe Katsnelson and Hersh Chandarana and Zizhao Zhang and Michal Drozdzal and Adriana Romero and Michael Rabbat and Pascal Vincent and James Pinkerton and Duo Wang and Nafissa Yakubova and Erich Owens and C. Lawrence Zitnick and Michael P. Recht and Daniel K. Sodickson and Yvonne W. Lui},
  journal = {ArXiv e-prints},
  archivePrefix = "arXiv",
  eprint = {1811.08839},
  year={2018}
}

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java调用Python函数作为TEID中的UDF   java Android。支持v4导入不工作   java如何影响具有静态属性的类   java如何在从glTexImage2D()分配后编辑纹理的像素颜色   javaspringboot+rediscache+@Cacheable适用于某些方法,而不适用于其他方法   java无法将动态Web模块方面从3.0更改为2.5   java如何在新选项卡中显示打印的文档?   java Google Cloud Endpoints API方法仅在删除用户参数时成功调用   java为什么我可以使用Stack<Double>但不能使用Stack<Double>?   java JDBC PreparedStatement似乎忽略了占位符   java如何设置JInternalFrame的标准图标化位置?   Java文件。copy()不复制文件   基于另一个类的java显示arraylist?   java Android Studio:错误:非法字符:'\u2028'   对象(Java)无法实例化类型映像?   javascript错误:飞行前响应的HTTP状态代码401无效   java确保泛型vararg参数具有相同的类型