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.6
and packages inrequirements.txt
are installed.
pip install -r requirements.txt
-
Please kindly download dataset from crowdAI, and then upzip and move
training
andtest_set_images
folders 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.csv
under thesubmission\
folder.
python run.py
- If you want to retrain our models, please run
train_predict.py
, you will then directly get thesubmission.csv
under thesubmission\
folder.
python train_predict.py
Functions 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.