Skip to content

Commit

Permalink
Type cast bath size to int
Browse files Browse the repository at this point in the history
Slightly increase mouse sensitivity
  • Loading branch information
lhjohn committed Oct 17, 2023
1 parent 357b14e commit 2d0eadd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/python/LrFinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(self,
self.scheduler = ExponentialSchedulerPerBatch(self.optimizer, self.max_lr, self.num_lr)

self.criterion = estimator_settings["criterion"]()
self.batch_size = estimator_settings['batch_size']
self.batch_size = int(estimator_settings['batch_size'])
self.losses = None
self.loss_index = None

Expand Down

0 comments on commit 2d0eadd

Please sign in to comment.