mirror of https://github.com/explosion/spaCy.git
Add logging
This commit is contained in:
parent
0250bcf6a3
commit
ad6d40d028
|
@ -26,6 +26,7 @@ def create_docbin_reader(
|
|||
limit: int = 0,
|
||||
augmenter: Optional[Callable] = None,
|
||||
) -> Callable[["Language"], Iterable[Example]]:
|
||||
util.logger.debug(f"Loading corpus from path: {path}")
|
||||
return Corpus(
|
||||
path,
|
||||
gold_preproc=gold_preproc,
|
||||
|
|
|
@ -94,6 +94,7 @@ def init_vocab(
|
|||
if vectors is not None:
|
||||
load_vectors_into_model(nlp, vectors)
|
||||
logger.info(f"Added vectors: {vectors}")
|
||||
logger.info("Finished initializing nlp object")
|
||||
|
||||
|
||||
def load_vectors_into_model(
|
||||
|
|
Loading…
Reference in New Issue