Error in the code

its the face recognition code shown in the video, i am getting an error please help me debug it

hey @devchopra999_11c6416ab7f09bbf ,
your face data is of 2 dimensions and face labels is of 1 dimension, you need to just reshape that and then try .
It will work.

1 Like

it worked but i got a new error now

its somehting related to system.

try restarting your windows once.

that worked thank you

Great.

Kindly mark this doubt as resolved in your course’s doubt section.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.