Train a model for Nuclei Counting and Segmentation
masterUse the nucleus.py script to train models for the 2018 Data Science Bowl challenge (segmenting nuclei in microscopy images). You can train starting from ImageNet weights, from a specific weights file, or resume training from a previous session.
Training from ImageNet weights
Use the train subset (which is stage1_train minus the validation set):
python3 nucleus.py train --dataset=/path/to/dataset --subset=train --weights=imagenetTraining from specific weights
Use the full stage1_train dataset and a specific .h5 weights file:
python3 nucleus.py train --dataset=/path/to/dataset --subset=stage1_train --weights=/path/to/weights.h5Resuming training
To resume training from the last saved checkpoint:
python3 nucleus.py train --dataset=/path/to/dataset --subset=train --weights=lastpython3 nucleus.py train --dataset=/path/to/dataset --subset=train --weights=imagenet