mirror of
https://github.com/explosion/spaCy.git
synced 2025-06-29 17:33:10 +03:00
Fix syntax error
This commit is contained in:
parent
99b26fe492
commit
61a4ef0b46
|
@ -38,10 +38,10 @@ def console_logger():
|
||||||
) from None
|
) from None
|
||||||
scores = []
|
scores = []
|
||||||
for col in score_cols:
|
for col in score_cols:
|
||||||
score = float(info["other_scores"].get(col, 0.0)))
|
score = float(info["other_scores"].get(col, 0.0))
|
||||||
if col != "speed":
|
if col != "speed":
|
||||||
score *= 100
|
score *= 100
|
||||||
scores.append("{0:.2f}".format(score)
|
scores.append("{0:.2f}".format(score))
|
||||||
data = (
|
data = (
|
||||||
[info["epoch"], info["step"]]
|
[info["epoch"], info["step"]]
|
||||||
+ losses
|
+ losses
|
||||||
|
|
Loading…
Reference in New Issue
Block a user