mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
Fix syntax error
This commit is contained in:
parent
99b26fe492
commit
61a4ef0b46
|
@ -38,10 +38,10 @@ def console_logger():
|
|||
) from None
|
||||
scores = []
|
||||
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":
|
||||
score *= 100
|
||||
scores.append("{0:.2f}".format(score)
|
||||
scores.append("{0:.2f}".format(score))
|
||||
data = (
|
||||
[info["epoch"], info["step"]]
|
||||
+ losses
|
||||
|
|
Loading…
Reference in New Issue
Block a user