Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

early training termination when cost starts increasing?

Open proteushf opened this issue 10 years ago • 3 comments

I am running with training config num_passes=30, e.g.: https://github.com/PaddlePaddle/Paddle/blob/develop/demo/quick_start/train.sh

Is it possible that the training can stop when the cost starts increasing consistently so that unnecessary time can be saved? Thanks.

proteushf avatar Dec 02 '16 01:12 proteushf

Currently,the process can not automatically stop if cost starts increasing. You can write help python scripts to monitor the output log and kill process if some requirements are satisfied.

@qingqing01 @pengli09 Can you give some better suggestions?

backyes avatar Dec 02 '16 06:12 backyes

@backyes Currently we can only do it as you suggested.

pengli09 avatar Dec 02 '16 06:12 pengli09

Thanks for the reply!

proteushf avatar Dec 02 '16 15:12 proteushf