Debug function cannot find the Corpus path #10915
-
I am trying to use the spacy debug function, however, I am facing this error:
See the error picture below (I tried to show the config.cfg file as well): I saw some post (not related to the debug function but the training one) commenting that the error might be caused because the dev corpus is empty or something, so I tried to put the same training path to the dev corpus:
However, I still got the same error... This is my whole config.cfg file:
Am I missing some parameter or something else that I need to configure? Many thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Please do not post screenshots of code/text/errors, it makes them hard to read and impossible to search for.
|
Beta Was this translation helpful? Give feedback.
Please do not post screenshots of code/text/errors, it makes them hard to read and impossible to search for.
${paths.train}
refers to the value in this block, which is empty, so thedebug
command doesn't know how to find your data. You can write the path here or specify it on the command line likespacy debug config config.cfg --paths.train myfile.spacy
.