Packaging relation_extractor - ValueError: Existing factory. #10706
-
Hi! I have successfully trained my custom ner + relation_extractor starting from this great tutorial. I tried to package it using
So far, so good. But when I pip install the resulting
So first I tried with adding
Any advice on how to fix this? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello, |
Beta Was this translation helpful? Give feedback.
Hello,
if you installed your model via
pip
, why are you still importing it locally?from . import rel_pipe
I think this might be the culprit here 😄