my initial motivation was to implement tools for radiological images into fastai and then I decided to share it with the community, hoping it will be helpful.
However, today I mostly use MONAI and faimed3d is not actively developed anymore.
I love fastai, but for 3D medical imaging MONAI provides the better tools.
Those are great publications ā¦ Kudos!
I am keen to hear your thoughts on MONAI. I gave it a brief glance but am biased towards fastai. I have been writing some code to extend it somewhat. Have a look at my post Code collaboration opportunity for radiology projects (KiTS)
I have been able to do most things with fastai+pytorch, using torchio etc here and there, but am keen to hear where MONAI really outshines fastai.
The main reason is, that fastai is designed for 2d images and does this really well. However, 3D data, such as CT or MRI come with additional challenges. One of my main reasons to switch to MONAI were:
They have 3D models, which are not provided by fastai. I have written some 3D models in faimed3d, but MONAI offers a much greater variety.
CT/MRI require specific transforms, such as simulation of typical artifacts. One can use torchio but, AFAIK, torchio is not under active development anymore, instead the creator joined MONAI.
MONAI provides better support of medical data and special data loaders with caching. This is important, as DICOM is often compressed, making the dataloader the bottleneck of your training.
I still use fastai for 2D images, as the training routines are better and I find it really easy to use. However, my main work nowadays is on 3D data. Similar to you, Iāve also written a training routine for segmentation using MONAI and ignite, but its WIP GitHub - kbressem/trainlib: Template for MONAI projects
Yes Monai is very very polished. I am just so in love with the fastai coding philosophy that I found it near impossible to break from it. Please keep me updated on any interesting things you find along the way
There is something like: https://arxiv.org/pdf/2210.04133.pdf (āAdapting Pretrained Vision-Language Foundational Models to Medical Imaging Domainsā)