mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-10 19:57:17 +03:00
Report length of dev dataset correctly (#4891)
This commit is contained in:
parent
e1b493ae85
commit
e55fa1899a
|
@ -107,7 +107,7 @@ def debug_data(
|
|||
else:
|
||||
msg.text(f"Starting with blank model '{lang}'")
|
||||
msg.text(f"{len(train_dataset)} training docs")
|
||||
msg.text(f"{len(gold_dev_data)} evaluation docs")
|
||||
msg.text(f"{len(dev_dataset)} evaluation docs")
|
||||
|
||||
if not len(gold_dev_data):
|
||||
msg.fail("No evaluation docs")
|
||||
|
|
Loading…
Reference in New Issue
Block a user