mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-05 04:40:20 +03:00
Move comment
This commit is contained in:
parent
7e793ded5a
commit
2dc82234f4
|
@ -171,7 +171,6 @@ def console_logger_v3(
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
if progress_bar:
|
if progress_bar:
|
||||||
# Set disable=None, so that it disables on non-TTY
|
|
||||||
if progress_bar == "train":
|
if progress_bar == "train":
|
||||||
total = max_steps
|
total = max_steps
|
||||||
desc = f"Last Eval Epoch: {info['epoch']}"
|
desc = f"Last Eval Epoch: {info['epoch']}"
|
||||||
|
@ -180,6 +179,7 @@ def console_logger_v3(
|
||||||
total = eval_frequency
|
total = eval_frequency
|
||||||
desc = f"Epoch {info['epoch']+1}"
|
desc = f"Epoch {info['epoch']+1}"
|
||||||
initial = 0
|
initial = 0
|
||||||
|
# Set disable=None, so that it disables on non-TTY
|
||||||
progress = tqdm.tqdm(
|
progress = tqdm.tqdm(
|
||||||
total=total,
|
total=total,
|
||||||
disable=None,
|
disable=None,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user