Permission Denied while training on Windows #9661
-
running: python -m spacy train config.cfg --output ./output --paths.train ./train.spacy --paths.dev ./train.spacy --gpu-id 0 I am getting and error while deleting ner directory
I am admin and all the other directories/files are created w/o a problem. I saw another thread about "windows sync" locking the files, but it's not the case here. Full log below:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Sorry you're having trouble with this. Unfortunately the Windows error is pretty vague and there could be a variety of causes for it. Did the Does this code work?
This is basically the same as what the training code is doing. If this doesn't work then something is grabbing the directory somehow, so we'll need to think about what that could be. If this works but your training code doesn't, then it could be a simpler issue like the process not running with admin privileges or something. |
Beta Was this translation helpful? Give feedback.
-
Hi, I've tried to run your example code, and had to change the
because otherwise it wouldn't run. I assume you had it correct on your end though, because otherwise you would have gotten a FileNotFound error. Either way, I can run this notebook on Windows just fine. The only other thing I can think of, is to try and upgrade spaCy to the latest version, but otherwise I think the problem is with one of your system/permission settings, and not directly related to something in spaCy. |
Beta Was this translation helpful? Give feedback.
Hi,
I've tried to run your example code, and had to change the
init fill-config
command to:because otherwise it wouldn't run. I assume you had it correct on your end though, because otherwise you would have gotten a FileNotFound error.
Either way, I can run this notebook on Windows just fine. The only other thing I can think of, is to try and upgrade spaCy to the latest version, but otherwise I think the problem is with one of your system/permission settings, and not directly related to something in spaCy.