Train a model iteratively¶
This workflow shows how to fine-tune or iteratively train an existing model using weight from existing model–whether their own or a pre-trained model provided by us–using their own data.
You can start training as soon as you have a curation progress CSV saved
Note
Although computer with CPU only can run training, it takes significantly longer time than a computer with NVIDIA GPU
Training may take an extended amount of time (e.g., overnight)
Training can run in the background as long as the application window (napari + the plugin) is open
STEPS

Curated image data source
: if you have completed curation using the plugin, this input field will be auto-populatedImage channel
: this will also be auto-populated based on your training dataStart from previous model
Yes
: allows pulling weight from a previously trained model – equivalent to continue training a previously trained model (iterative training)Patch size
: input the approximated dimension of your structure of interestThe input values must be multiples of 4 – the fields will auto-correct to the closest value
Model size
: this reflects the complexity of the model – smaller model train faster while larger models train slower but may learn complex relationships betterNumber of epoch
: can start with a small value such as 10 to evaluate how quickly your computer can process each epochTime out
(OPTIONAL): set up the model to stop training by a certain amount of timeClick
Start training
A progress dialog will pop up to display the current progress and the current loss value
If a high value of epoch was entered, training may automatically stopped before it reaches the last epoch if the model can no long be improved
The plugin will notify you when the training is finished, together with the final loss value