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 RandomPatch #23

Open
MagicXiaoJing opened this issue Jun 23, 2020 · 9 comments
Open

About RandomPatch #23

MagicXiaoJing opened this issue Jun 23, 2020 · 9 comments

Comments

@MagicXiaoJing
Copy link

image
In paper, I see the great difference between the patch input and resize input. but in coding, I don't see the place you using random patch. Could you tell me whether you use random patch or not in the final?
Very thanks !!

@ZGSLZL
Copy link
Contributor

ZGSLZL commented Jun 23, 2020

Hi, we do use 'RandomPatch' in the paper, but not in FaceForensics Benchmark.

@MagicXiaoJing
Copy link
Author

Benchmark

Thanks. When using random patch in paper, it will be many subpatch from the face as input? And when inference, the face resize to 224x224 or the big image (larger than 224x224) as input?

@silvercherry
Copy link

Benchmark

Thanks. When using random patch in paper, it will be many subpatch from the face as input? And when inference, the face resize to 224x224 or the big image (larger than 224x224) as input?

Yes, I also meet this problem, if you do not use resize, then some pictures will exceed the picture size

@MagicXiaoJing
Copy link
Author

perhaps training using random patch, evaluating using the resize.

@silvercherry
Copy link

perhaps training using random patch, evaluating using the resize.

Have you solved the problem in training?When using randompatch, some pictures may be subpatched

@MagicXiaoJing
Copy link
Author

what is subpatched ??

@silvercherry
Copy link

what is subpatched ??

If you are using randompatch, start from the center of the face and add or subtract half of size, which sometimes exceeds the size of the entire picture. How do you handle it here

@MagicXiaoJing
Copy link
Author

MagicXiaoJing commented Jul 1, 2020

in that condition, give up randompatch, using orig img

@gehaocool
Copy link

When processing a high-resolution picture, the size of the face could exceed 224×224, so how to do the patching in this case?
Just patching part of the face, or using an input image bigger than 224×224?
And how do you get the "face images" from which to crop 224 patches?

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

4 participants