facebookresearch / fastMRI

A large-scale dataset of both raw MRI measurements and clinical MRI images.
https://fastmri.org
MIT License
1.34k stars 373 forks source link

Packageify fastmri refactor #52

Closed mmuckley closed 4 years ago

mmuckley commented 4 years ago

This PR implements a refactor that moves most functionality into a fastmri PyPI-style package. The main difference is that in the previous implementation, a lot of functionality was localized to experiments, whereas in the update, functionality is moved to modules in the fastmri package so that experiments focus more on configurations and training parameters.

The basic outline for the new package structure was defined in Issue #50. This is a big update - for review, looking into train_unet_demo.py and the corresponding unet_module.py under experimental/unet is a good way to identify the main aspects of the update. A summary is as follows:

Tensorboard output for U-Net training:

Screen Shot 2020-07-24 at 3 29 29 PM

After this future work still requires:

Note: I will be on PTO next week. I will look into comments two weeks from now (unless someone wants to merge this before that).