We have successfully applied the idea of prototype loss in various medical image classification task to improve performance, for example, detecting thyroid eye disease from CT images. Here we provide the implementation of the convolution prototype model in Singa. Due to data privacy, we are not able to release the CT image dataset used. The training script ./train.py demonstrates how to apply this model on the cifar-10 dataset.
Download the CIFAR-10 python version to the folder (pathToDataset).
Start the training
python train.py tedctnet -dir pathToDataset