-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong data preprocessing in demo.py #21
Comments
I have also noticed this issue. In fact, when running demo.py, there is no preprocessing operation performed on the input data. However, it is done during training, which can introduce errors here. In practice, demo.py cannot be used to predict videos. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The preprocessing is not aligned with your training in your demo code. For the data preprocessing in training, the face images are first cropped to squares. It seems that u just ignore this and resize the image without keeping the aspect ratio in the demo.py.
The text was updated successfully, but these errors were encountered: