Skip to content
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

Open
Turlan opened this issue Jun 19, 2023 · 1 comment
Open

Wrong data preprocessing in demo.py #21

Turlan opened this issue Jun 19, 2023 · 1 comment

Comments

@Turlan
Copy link

Turlan commented Jun 19, 2023

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.

@lihualilee
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants