adding a label to a pretrained textcat #10144
Unanswered
mathiasdus
asked this question in
Help: Coding & Implementations
Replies: 1 comment
-
Resizing for textcat was added in v3.1.0. Can you check which version of spacy you're using ( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I know that since v3 of Spacy, textcatBow is resizable. Hence, adding a label to an already trained texcat_multilabel pipeline should not be a problem. However, when I call textcat.add_label(), I get the error:
[E922] Component 'textcat_multilabel' has been initialized with an output dimension of 30 - cannot add any more labels.
Why is this happening?
Beta Was this translation helpful? Give feedback.
All reactions