This project demonstrates the application of the U-Net architecture for masking mouse and rat brains. It focuses on:
- the possibility/necessity of transfer-learning from mouse to rat,
- an analysis of required training data size, and
- providing a Nifti in-out brain masker.
The code and net structure is inspired by a PyTorch U-Net implementation. The training process of the model will be added in one of the next versions.
Input | U-Net mask | U-Net Output |
---|---|---|
- Activate the Anaconda environment if available.
- If git is missing: install it via
conda install -c anaconda git
- Install the package with
pip install git+https://github.com/lucasplagwitz/rm_masking.git
. - Start the transformation with
python -c "from rm_masking import predict; predict.run(r'/path/to/input_niis/', r'/path/to/output_niis/')"