I completed Lesson 3 Head Pose and was able to get the entire Jupyter Notebook running. But when I uploaded a new image where the face was not centered the learn.predict yielded the wrong answer. I tried other images that I uploaded and they were also incorrectly classified. when I used PIL to resize the images to 480, 640 the model predicted wrong … it was consistently placing the red dot in the center of the frame but not on the face.
Has anyone been able to run inference on images they uploaded?
Here’s some code I’ve been running to get the model prediction.
Likely the augmentation you chose. I’ve found the more augmentation the more unstable it is. Also if you’re cropping/resizing make sure you pad, not crop as you could lose a few of your points potentially.