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

TTA mode does not work properly when image resolution is odd #57

Closed
f11894 opened this issue Feb 23, 2020 · 1 comment
Closed

TTA mode does not work properly when image resolution is odd #57

f11894 opened this issue Feb 23, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@f11894
Copy link

f11894 commented Feb 23, 2020

original image
1_trim

waifu2x-ncnn-vulkan.exe -i "C:\issue\1_trim.png" -o "C:\issue\1_trim_vulkan x2.png" -s 2 -n -1 -t 100 -m models-cunet
1_trim_vulkan x2

waifu2x-ncnn-vulkan.exe -i "C:\issue\1_trim.png" -o "C:\issue\1_trim_vulkan_tta_x2.png" -s 2 -n -1 -t 100 -m models-cunet -x
1_trim_vulkan_tta_x2

waifu2x-caffe-cui.exe -i "C:\issue\1_trim.png" -t 1 --crop_size 128 -m scale --scale_ratio 2 --model_dir models\CUnet -p cpu -o "C:\issue\1_trim_caffe_tta_x2.png"
1_trim_caffe_tta_x2

@nihui nihui added the bug Something isn't working label Feb 23, 2020
@f11894 f11894 changed the title TTA mode does not work properly when image resolution is odd TTA mode will not work properly if image resolution is not a multiple of 4 Feb 23, 2020
@f11894 f11894 changed the title TTA mode will not work properly if image resolution is not a multiple of 4 TTA mode does not work properly when image resolution is odd Feb 23, 2020
@nihui nihui closed this as completed in 1450ec6 Feb 23, 2020
@nihui
Copy link
Owner

nihui commented Feb 23, 2020

Thanks for your report !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants