MONAI icon indicating copy to clipboard operation
MONAI copied to clipboard

Prepare the codebase for the public alpha:

Open pdogra89 opened this issue 6 years ago • 1 comments

-Refactor input ‘transform’ interfaces - Finalise the code folder structure - More thorough unit tests - More integration tests - Following the current design, more networks/losses/metrics/transforms

pdogra89 avatar Jan 24 '20 16:01 pdogra89

Hi All,

To start this discussion, I have a proposal of "Refactor input ‘transform’ interfaces":

  1. Keep current 'vanilla' implementation of transforms, it's similar to torchvision and user can use it if they don't have "dict" input data.
  2. Add another higher level adapter or proxy class to handle "dict" based input data. Take "random window croping" for example, this proxy layer will: (1) generate a random window. (2) call our crop_transform twice to crop the same window on 2 apply keys('image', 'label').

Welcome your discussion and please feel free to correct me if I misunderstand anything. Thanks in advance.

Nic-Ma avatar Jan 24 '20 17:01 Nic-Ma