PaddleSeg icon indicating copy to clipboard operation
PaddleSeg copied to clipboard

[General Issue] Stop training by loss value

Open Yasminbr opened this issue 3 years ago • 2 comments

Hey , I would like o know if there is an option to stop training the model not by iteration numbers , but by seeing if whether the learning rate or the loss are static or the delta between some values is smaller than a number .

thank you :)

Yasminbr avatar Jul 05 '22 07:07 Yasminbr

You can add some situation to the training circulation, and break out of the loop when the condition is met.

wuyefeilin avatar Jul 06 '22 02:07 wuyefeilin

that's sounds great, can you show me a code example?

Yasminbr avatar Jul 06 '22 07:07 Yasminbr

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Dec 09 '22 17:12 github-actions[bot]