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

Please help me I cat run this when I click train image it shows these error messages.please help me as soon as you see this #4

Open
SKY-REAPER opened this issue Mar 2, 2022 · 0 comments

Comments

@SKY-REAPER
Copy link

/Users/athulkrishnaambatt.s/Desktop/GitHub/Attendance-Management-system-using-face-recognition/venv/bin/python /Users/athulkrishnaambatt.s/Desktop/GitHub/Attendance-Management-system-using-face-recognition/attendance.py
Exception in Tkinter callback
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/tkinter/init.py", line 1702, in call
return self.func(*args)
File "/Users/athulkrishnaambatt.s/Desktop/GitHub/Attendance-Management-system-using-face-recognition/attendance.py", line 272, in train_image
text_to_speech,
File "/Users/athulkrishnaambatt.s/Desktop/GitHub/Attendance-Management-system-using-face-recognition/trainImage.py", line 15, in TrainImage
faces, Id = getImagesAndLables(trainimage_path)
File "/Users/athulkrishnaambatt.s/Desktop/GitHub/Attendance-Management-system-using-face-recognition/trainImage.py", line 28, in getImagesAndLables
for i in range(len(newdir))
File "/Users/athulkrishnaambatt.s/Desktop/GitHub/Attendance-Management-system-using-face-recognition/trainImage.py", line 29, in
for f in os.listdir(newdir[i])
NotADirectoryError: [Errno 20] Not a directory: '/Users/athulkrishnaambatt.s/Desktop/GitHub/Attendance-Management-system-using-face-recognition/TrainingImage/.DS_Store'

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

1 participant