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

Preprocessing #5

Closed
deeyeet opened this issue Aug 12, 2020 · 1 comment
Closed

Preprocessing #5

deeyeet opened this issue Aug 12, 2020 · 1 comment

Comments

@deeyeet
Copy link

deeyeet commented Aug 12, 2020

Hi,

I was wondering exactly how you pre-processed the images. I am training the model with the BP4D dataset and I am not achieving the same results in the paper (about 0.1 off the ICC). I used dlib to estimate the 68 facial landmarks and then resized/cropped to 256x256. I also switched k = 7 to k = 5 in the model_graph.py file. I think the issue is with pre-processing since I am not matching the AU centers from the BP4D training examples provided. However, I think my calculations for the AU centers from the facial landmarks are correct.

Thanks

@EvelynFan
Copy link
Owner

Hi,

I was wondering exactly how you pre-processed the images. I am training the model with the BP4D dataset and I am not achieving the same results in the paper (about 0.1 off the ICC). I used dlib to estimate the 68 facial landmarks and then resized/cropped to 256x256. I also switched k = 7 to k = 5 in the model_graph.py file. I think the issue is with pre-processing since I am not matching the AU centers from the BP4D training examples provided. However, I think my calculations for the AU centers from the facial landmarks are correct.

Thanks

Yes, the problem might be with the data pre-processing. When cropping the images, affine transformations were also applied to register all images. The images were registered according to the nose and mouth positions, similar to the operation described in [1].

[1] Joint Action Unit localisation and intensity estimation through heatmap regression. BMVC 2018.

I am not allowed to release the code of the affine transformation currently. You may use MTCNN or other face alignment implementations to crop the images.

Thanks.

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