Edward Jones
1 min readApr 19, 2020

--

Hi Dustin,

This error means that the face array is not converted to float. I believe there must have gone something wrong in the line of code below. Do verify if you set the right variables (eg. expand the dimensions on face_pp and not on face).

Hope this resolves it!

face_pp = face.astype('float32')
face_pp = np.expand_dims(face_pp, axis = 0)

--

--

No responses yet