I managed to fix the read_images problem, now the problem is as follows:

File "C:UsersWilliamDesktopTESISPythonfacerec2eigensave.py", line 105,
in
y = np.asarray(y, dtype=np.int32)
File "C:Python27Libsite-packagesnumpycorenumeric.py", line 462, in asarr
ay
return array(a, dtype, copy=False, order=order)
ValueError: invalid literal for long() with base 10: 'C:UsersWilliamDeskto
pTESISPythonfacerec2datawils1.jpg'

I read that is somithing about converting label to integer.

Thanks