Error: from spacy.gold import GoldParse No name GoldParse in Module spacy.gold #7369
-
Hi, When I try to train a blank model and use GoldParse to store training annotations I get the following error. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
What versions of |
Beta Was this translation helpful? Give feedback.
-
I've gotten this error in two different versions of spacy. I'm not using the spacy-transformers in this build. Spacy: 2.3.0(current version), 2.0.16 I installed all my packages using the pip installer |
Beta Was this translation helpful? Give feedback.
-
Could there be conflicting versions of spaCy installed in the same environment? Have you tried starting from a fresh, clean Python environment? |
Beta Was this translation helpful? Give feedback.
-
I will test the code in a google colab and get back to you on that |
Beta Was this translation helpful? Give feedback.
-
I set up the google colab environment and tested it, it made it past the first iteration unlike all my previous attempts so I'm optimistic that it will finish training. I think the issue arose from a conflicting environment as you mentioned. Thanks for your help :) |
Beta Was this translation helpful? Give feedback.
-
Great, happy to hear you got it sorted out! |
Beta Was this translation helpful? Give feedback.
I set up the google colab environment and tested it, it made it past the first iteration unlike all my previous attempts so I'm optimistic that it will finish training. I think the issue arose from a conflicting environment as you mentioned. Thanks for your help :)