From 16b51440951f2b1bfb04b800ef7631c7992eb1df Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 28 Jul 2019 17:54:11 +0200 Subject: [PATCH] Don't raise NotImplemented in Pipe.update --- spacy/pipeline/pipes.pyx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spacy/pipeline/pipes.pyx b/spacy/pipeline/pipes.pyx index ca166607f..df923fb70 100644 --- a/spacy/pipeline/pipes.pyx +++ b/spacy/pipeline/pipes.pyx @@ -104,8 +104,7 @@ class Pipe(object): Delegates to predict() and get_loss(). """ - self.require_model() - raise NotImplementedError + pass def rehearse(self, docs, sgd=None, losses=None, **config): pass