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

Not working #1

Closed
bropines opened this issue Feb 16, 2022 · 9 comments
Closed

Not working #1

bropines opened this issue Feb 16, 2022 · 9 comments

Comments

@bropines
Copy link

Screenshot_2022-02-16-14-33-23-489_com tumuyan ncnn realsr
Screenshot_2022-02-16-14-28-56-669_com tumuyan ncnn realsr

@tumuyan
Copy link
Owner

tumuyan commented Feb 16, 2022

Please uninstall -> download https://github.com/tumuyan/RealSR-NCNN-Android/releases/download/1.4-debug/RealSR-NCNN-Android-GUI-armv8a-1.4.apk -> reinstall -> open & run the same image -> upload screenshot

Thanks

@bropines
Copy link
Author

I tested photos in resolution up to 500x500. They were working fine. In theory, the system cannot decode large-sized photos.
Screenshot_2022-02-16-17-04-15-388_com tumuyan ncnn realsr

@bropines
Copy link
Author

Work:
Screenshot_2022-02-16-17-41-38-494_com tumuyan ncnn realsr
313123123

No work:
WTuCRgBOffQ
Screenshot_2022-02-16-17-04-15-388_com tumuyan ncnn realsr

The current STB decoder cannot recognize some photos. I have attached what works and what doesn't

@tumuyan
Copy link
Owner

tumuyan commented Feb 16, 2022

the file named as jpg, but actually it is a webp file.

Only png and jpg is support.

Screenshot_2022-02-16-20-58-06-299_com.tumuyan.filemagic.debug.jpg

@bropines
Copy link
Author

Clear. In such ways, our local VK social network encodes uploaded photos.

@bropines
Copy link
Author

And more. Nothing works on my device (Vulkan driver updated to the latest version) except real-esrgan
Screenshot_2022-02-16-17-58-00-589_com tumuyan ncnn realsr
Screenshot_2022-02-16-17-58-52-699_com tumuyan ncnn realsr
Screenshot_2022-02-16-17-57-37-575_com tumuyan ncnn realsr

@tumuyan
Copy link
Owner

tumuyan commented Feb 16, 2022

You could try these command (use -t parameter to set tile-size, small tile-size will be slow, default might be 200, if 100 not works you can try 64 or less ) , refer nihui/realsr-ncnn-vulkan#38

When the log shows finish, click save and find the new image in gallery


./realsr-ncnn -i input.png -o output.png  -m models-DF2K_JPEG -t -100
./srmd-ncnn -i input.png -o output.png  -m models-srmd -s 2  -t 100
./realcugan-ncnn -i input.png -o output.png  -m models-se -s 2  -n -1 -t 100


@tumuyan
Copy link
Owner

tumuyan commented Feb 18, 2022

now you can set the tile-size in setting activity

@bropines
Copy link
Author

Yes, thanks. I think it's worth closing the issue, because the problem has been solved. As a suggestion, I can offer an image converter to the allowed format.

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