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

SFEW #7

Closed
toharl opened this issue Jan 18, 2022 · 4 comments
Closed

SFEW #7

toharl opened this issue Jan 18, 2022 · 4 comments

Comments

@toharl
Copy link

toharl commented Jan 18, 2022

Thank you for your work.
Could you please share your training code for SFEW 2.0?

@yaoing
Copy link
Owner

yaoing commented Jan 20, 2022

Thanks for your interest !
We only make public for the codes of RAF-DB and AffectNet datasets. As for SFEW 2.0, the images need to be crop manually, and the different face detection model may lead in various result with our code.

@toharl
Copy link
Author

toharl commented Jan 21, 2022

May I know if you use the same transformations as in affectnet or raf-db? i.e:

DAN/rafdb.py

Line 131 in a46962c

data_transforms = transforms.Compose([

@yaoing
Copy link
Owner

yaoing commented Jan 22, 2022

Not really, It's the transfom function, you can make a referance:

data_transforms = transforms.Compose([
        transforms.Resize((224, 224)),
        transforms.RandomHorizontalFlip(),
        transforms.RandomApply([
            transforms.RandomAffine(20, scale=(0.8, 1), translate=(0.2, 0.2))
            ], p=0.5),
        transforms.ToTensor(),
        transforms.Normalize(mean=[0.485, 0.456, 0.406],
                                 std=[0.229, 0.224, 0.225]),
        ])

@yaoing yaoing closed this as completed Jan 24, 2022
@toharl
Copy link
Author

toharl commented Jan 26, 2022

Thank you. May I know how do you crop and which face detection model you used in order to get your high performance?

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