Skip to content

Commit

Permalink
fix hyper param dicts
Browse files Browse the repository at this point in the history
  • Loading branch information
mittagessen committed Apr 4, 2024
1 parent f7fb622 commit db35eae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kraken/ketos/pretrain.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
help='Epoch of minimal learning rate for cosine LR scheduler.')
@click.option('--cos-min-lr',
show_default=True,
default=RECOGNITION_HYPER_PARAMS['cos_min_lr'],
default=RECOGNITION_PRETRAIN_HYPER_PARAMS['cos_min_lr'],
help='Minimal final learning rate for cosine LR scheduler.')
@click.option('-p', '--partition', show_default=True, default=0.9,
help='Ground truth data partition ratio between train/validation set')
Expand Down
2 changes: 1 addition & 1 deletion kraken/ketos/ro.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
help='Epoch of minimal learning rate for cosine LR scheduler.')
@click.option('--cos-min-lr',
show_default=True,
default=RECOGNITION_HYPER_PARAMS['cos_min_lr'],
default=READING_ORDER_HYPER_PARAMS['cos_min_lr'],
help='Minimal final learning rate for cosine LR scheduler.')
@click.option('-p', '--partition', show_default=True, default=0.9,
help='Ground truth data partition ratio between train/validation set')
Expand Down
2 changes: 1 addition & 1 deletion kraken/ketos/segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def _validate_merging(ctx, param, value):
help='Epoch of minimal learning rate for cosine LR scheduler.')
@click.option('--cos-min-lr',
show_default=True,
default=RECOGNITION_HYPER_PARAMS['cos_min_lr'],
default=SEGMENTATION_HYPER_PARAMS,['cos_min_lr'],
help='Minimal final learning rate for cosine LR scheduler.')
@click.option('-p', '--partition', show_default=True, default=0.9,
help='Ground truth data partition ratio between train/validation set')
Expand Down

0 comments on commit db35eae

Please sign in to comment.