Unable to train BERT-NER model after adding output path #12647
Unanswered
zz-em
asked this question in
Help: Other Questions
Replies: 2 comments 1 reply
-
This is an error that you would typically get when the user or process does not have permissions to write to the current directory. You could try to debug this by e.g. creating a directory with |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you for the response. I do believe it's the 'write access' issue. However, based on the following experiment, I think SpaCy somehow modified the write permission of the directory.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Everything looks good with the following except not saving the trained model:
!python -m spacy train ./config/config.cfg --paths.train ./data/train.spacy --paths.dev ./data/train.spacy --gpu-id 0
After adding output path:
!python -m spacy train ./config/config.cfg --output ./output/ --paths.train ./data/train.spacy --paths.dev ./data/train.spacy --gpu-id 0
Error message pops up:
Here is the config file:
Beta Was this translation helpful? Give feedback.
All reactions