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

Benchmark Evaluation on KernelGANFKPx4 #5

Closed
royson opened this issue Oct 3, 2021 · 1 comment
Closed

Benchmark Evaluation on KernelGANFKPx4 #5

royson opened this issue Oct 3, 2021 · 1 comment

Comments

@royson
Copy link

royson commented Oct 3, 2021

Hello,

Thanks for uploading the code.

I am trying to evaluate KernelGANFKP on Set5 & Set14 & B100 for scaling factor x4:
FKP/KernelGANFKP$ python main.py --SR --sf 4 --dataset {dataset}

However, I am hitting an error during the forward pass of the discriminator if the input patch has a height or width < 27. Is KernelGANFKPx4 not supported for Set5, Set14, and B100 datasets?

@JingyunLiang
Copy link
Owner

KernelGAN is not suitable for small images by design. You can adjust the crop size here

self.parser.add_argument('--input_crop_size', type=int, default=64, help='Generators crop size')

but it will leads to bad performance.

@royson royson closed this as completed Oct 4, 2021
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