satinder147 / Attendance-using-Face

Face-recognition using Siamese network
MIT License
203 stars 87 forks source link

trainer.py not running #14

Open AbdullahAlfayez opened 5 years ago

AbdullahAlfayez commented 5 years ago

It shows errors when I try to run the trainer file. Could you please help? I am trying to run it on windows 10

satinder147 commented 5 years ago

What is the error?

abeepathak96 commented 5 years ago

It shows error while running on Ubuntu18.04

Traceback (most recent call last): File "trainer.py", line 34, in y_data.append(int(x[-1])) ValueError: invalid literal for int() with base 10: 'i'

satinder147 commented 5 years ago

The error I think is that you have not correctly named the directories as mentioned in the readme. The label of the class is taken from the folder which has the images. If you will not insert a number in the end, it would raise an error.

AbhishekP-Ai commented 5 years ago

Thank you for the advise.