Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant solve error in trainer part #19

Open
Sumayya-CS opened this issue Feb 12, 2021 · 2 comments
Open

cant solve error in trainer part #19

Sumayya-CS opened this issue Feb 12, 2021 · 2 comments

Comments

@Sumayya-CS
Copy link

File "sample.py", line 25, in
faces,ids = getImagesAndLabels(path)
File "sample.py", line 16, in getImagesAndLabels
PIL_img = Image.open(imagePath).convert('L') # grayscale
File "C:\Users\HP\lib\site-packages\PIL\Image.py", line 2904, in open
fp = builtins.open(filename, "rb")
PermissionError: [Errno 13] Permission denied: 'dataset\trainer'

what to do?

@bobyk
Copy link

bobyk commented Feb 12, 2021

Change permission for dataset\trainer
sudo chmod -R 666 dataset\trainer

@Sumayya-CS
Copy link
Author

Change permission for dataset\trainer
sudo chmod -R 666 dataset\trainer

how to change permission? please guide a little. thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants