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

About datapropress #45

Open
LonelyPlanetIoT opened this issue Apr 25, 2023 · 5 comments
Open

About datapropress #45

LonelyPlanetIoT opened this issue Apr 25, 2023 · 5 comments

Comments

@LonelyPlanetIoT
Copy link

I have a confusing about dataprocess. I find that you resize the frame in face_detector.py in line68 when you create VideoDatasset. Will it decrease the final result? And the resize operator it is neccessory or not if I want to use dataprocess like this for other model?
image

@davide-coccomini
Copy link
Owner

This part has been hugely inspired by Selim Seferbekov work: https://github.com/selimsef/dfdc_deepfake_challenge/blob/master/preprocessing/face_detector.py
We maintained the frame resize to be totally comparable, anyway, we think that it would not affect the result. Maybe you can try to remove it and see what happens.

@LonelyPlanetIoT
Copy link
Author

Thanks a lot

@LonelyPlanetIoT
Copy link
Author

I try to cancel the resize operator and a error come like the follow picture. Maybe if you don't resize the computer doesn't have enough resource to execute the code?
image

@davide-coccomini
Copy link
Owner

Can you provide the full stack trace?

@LonelyPlanetIoT
Copy link
Author

Sorry for replying so late. In the end ,I didn't change it. But I have another question. I use MTCNN to extract face.The thresholds is set as same as yours. In this situation, I find some videos such as NT/808_829.mp4 can not extract enough faces as the paper mentioned. And I try to decrease the thresholds. But some frames are not face. What should I do?

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