You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
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: