Make mypy happy
This commit is contained in:
parent
097cdcb57a
commit
737c07c5b6
@ -220,7 +220,7 @@ class Hyperopt:
|
||||
is_best_loss = self.is_best(results)
|
||||
|
||||
if not print_all:
|
||||
print('.', end='' if results['current_epoch'] % 100 != 0 else None)
|
||||
print('.', end='' if results['current_epoch'] % 100 != 0 else None) # type: ignore
|
||||
sys.stdout.flush()
|
||||
|
||||
if print_all or is_best_loss:
|
||||
|
Loading…
Reference in New Issue
Block a user