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

'vkAllocateMemory failed -2' occured but image still comes out #32

Closed
AaronFeng753 opened this issue Jul 23, 2019 · 3 comments
Closed

Comments

@AaronFeng753
Copy link

I upgrade my gpu driver to the newest, but this 'vkAllocateMemory failed -2' error still occured, but the scaled image still comes out.
What's the meaning of this error??

@nihui
Copy link
Owner

nihui commented Jul 23, 2019

what is your gpu model
try using smaller tile size, such as "-t 200"

@AaronFeng753
Copy link
Author

what is your gpu model
try using smaller tile size, such as "-t 200"
Thank you ! now this error is disappeared.
My gpu moder is AMD RX 550.
By the way, I just made a batching process extension for this program, so waifu2x-ncnn-vulkan could process all the images in one folder, without input all images one by one. Check it out, hope you like it.
https://github.com/AaronFeng753/Waifu2x-Batching-process-extension

@nihui
Copy link
Owner

nihui commented Jul 23, 2019

hi, the latest release of waifu2x-ncnn-vulkan accepts folder path as input and output. thanks anyway

@nihui nihui closed this as completed Jul 23, 2019
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