- Download the gland segmentation challenge dataset and extract it into folder
Warwick QU Dataset (Released 2016_07_08)
. - To change all images to same dimensions run
reshape.py
. It generates the new images inreshaped_warwick
directory. Move the images you don't want to start training with, intoimages_train_eval
and also the corresponding annotations intosegments_train_eval
. - Now to generate the csv files, run
gen_csv.py
- Now, to run 4 sessions of training over 4 bootstrapped datasets, run
train.py
- To get the list of images to add for active learning, run
eval.py
. Make sure theeval_data
flag ineval.py
istrain_eval
- After this, to get the list of images to add to the training set (move from
train_eval
totrain
folder) runactive_selection.py
Again goto step 3, till satifactory results are not obtained.