PyTorchNLPBook
PyTorchNLPBook copied to clipboard
where is early_stopping_criteria param in args set?
Hello,
I tried your sample code in Chapter 3 (CNN Classifier) and I found a line of code saying that:
# Stop early ?
train_state['stop_early'] = \
train_state['early_stopping_step'] >= args.early_stopping_criteria
where args.early_stopping_criteria seems not being included in the args set.
This is something you might want to pass in as a command line parameter like --early-stopping-criteria
On Wed, Apr 24, 2019 at 7:36 PM Ruibo Liu [email protected] wrote:
Hello,
I tried your sample code in Chapter 3 (CNN Classifier) and I found a line of code saying that:
Stop early ?
train_state['stop_early'] = \ train_state['early_stopping_step'] >= args.early_stopping_criteriawhere args.early_stopping_criteria seems not being included in the args set.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/joosthub/PyTorchNLPBook/issues/16, or mute the thread https://github.com/notifications/unsubscribe-auth/ACIVODXOZ7CII3U4JVVOON3PSEKLNANCNFSM4HIJITNA .
OK! Thank you for replying!