EPFL CS-433 Machine Learning - Project 2
crowdAI username: Tao Sun, submission ID: 23803
Team Members: Tao Sun, Xiao Zhou, Jimin Wang
In order to reproduce the result we submitted to crowdAI, please follow the instructions as following:
- Please make sure
Python 3.6and packages inrequirements.txtare installed.
pip install -r requirements.txt-
Please kindly download dataset from crowdAI, and then upzip and move
trainingandtest_set_imagesfolders under thedata\folder. -
If you want to get the results we submitted in the crowdAI, we have prepared models for you. Please download it from here, then unzip and move the three weights file into
weights\folder. Then runrun.py, you will get thesubmission.csvunder thesubmission\folder.
python run.py- If you want to retrain our models, please run
train_predict.py, you will then directly get thesubmission.csvunder thesubmission\folder.
python train_predict.pyFunctions for preprocessing data, building data generator and saving data.
Define: Dice coefficient, Dice loss, BinaryCrossentropy+Dice loss and F1 score.
unet: Modified U-Net with dropout and batch-normalizationunet_dilated: U-Net with dilated convolution as bottlenect
Helper functions for generating crowdAI submission file.
Script to retrain models and get the prediction results as we submitted in crowdAI.
Script to generate the same submission file as we submitted in crowdAI with pretrained models.
The project is licensed under the MIT License.