This repository replicates some of the results of the paper A probabilistic u-net for segmentation of ambiguous images [1]. A write up of the replication can be found at this link.
The original code can be found at this link. We adapted it to improve readability and also ease of use for conducting experiments and doing inference.
conda create --name=punet-pytorch python=3.9
conda activate punet-pytorch
pip install torch torchvision torchaudio
pip install tqdm matplotlib scikit-image
pip install wandb
for loggingpip install seaborn pandas
for evaluation
To train the network:
cd punet-pytorch
python train_punet_lidc.py
[1] Kohl, S., Romera-Paredes, B., Meyer, C., De Fauw, J., Ledsam, J. R., Maier-Hein, K., ... & Ronneberger, O. (2018). A probabilistic u-net for segmentation of ambiguous images. Advances in neural information processing systems, 31.