Code for the UCL MSc Data Science and Machine Learning thesis.
datasets/blastocyst.py
containsDataset
classes that handle the datamodels/unet.py
contains the baseline U-Net modelmodels/incept_unet.py
contains the proposed FC Inceptioned U-Net modelutils/losses.py
contains classes with custom lossesutils/trainer.py
contains class that handles model training, evaluation, and results visualisationtrain_*.py
contain code to train the corresponding model and perform a grid search*.ipynb
contain a more interactive code to train and/or evaluate the corresponding model
Due to data sharing restrictions, we anonymised part of the data. However, if you wish to train and evaluate the model yourself, you can use the SFUDataset
class with a publicly available dataset introduced by the Pacific Centre for Reproductive Medicine (PCRM) [1].
[1] Parvaneh Saeedi, Dianna Yee, Jason Au, and Jon Havelock. Automatic identification of human blastocyst components via texture. IEEE Transactions on Biomedical Engineering, 64(12):2968–2978, 2017.
Due to data sharing restrictions the commit history wasn't published publicly, since it contains sensitive data.