Make mypy happy

This commit is contained in:
hroff-1902 2019-11-23 11:51:52 +03:00
parent 097cdcb57a
commit 737c07c5b6

View File

@ -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: