Skip to content

Commit 5dfaf26

Browse files
committed
Take min_epochs value from default hyperparam dict
and don't set it to the string value of the field name... Fixes #702
1 parent 80d50bb commit 5dfaf26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kraken/ketos/ro.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
help='Number of epochs to train for')
6262
@click.option('--min-epochs',
6363
show_default=True,
64-
default=['min_epochs'],
64+
default=READING_ORDER_HYPER_PARAMS['min_epochs'],
6565
help='Minimal number of epochs to train for when using early stopping.')
6666
@click.option('--lag',
6767
show_default=True,

0 commit comments

Comments
 (0)