Skip to content

How to implement EarlyStopping in MONAI Label server #1723

Closed Answered by diazandr3s
amitjc asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @amitjc,

By default MONAI Label uses Early Stopping. You can check this class defined in the basic train class here: https://github.com/Project-MONAI/MONAILabel/blob/159e1425e16c937a11d568aa369c0772b388c8cb/monailabel/tasks/train/basic_train.py#L594C33-L598

You could define the patience argument (early_stop_patience) in the train configuration from the GUI: https://github.com/Project-MONAI/MONAILabel/blob/159e1425e16c937a11d568aa369c0772b388c8cb/monailabel/tasks/train/basic_train.py#L589C35-L589C42

Hope this helps,

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by amitjc
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants