Merge branch 'develop' of https://github.com/explosion/spaCy into develop

This commit is contained in:
Matthew Honnibal 2017-05-17 08:00:04 -05:00
commit a1d8e420b5

View File

@ -47,7 +47,7 @@ class Trainer(object):
golds = self.make_golds(docs, paragraph_tuples)
all_docs.extend(docs)
all_golds.extend(golds)
for batch in tqdm.tqdm(partition_all(12, zip(all_docs, all_golds))):
for batch in partition_all(12, zip(tqdm.tqdm(all_docs), all_golds)):
X, y = zip(*batch)
yield X, y