-
Notifications
You must be signed in to change notification settings - Fork 89
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
Unable to execute realsr-ncnn from another directory #37
Comments
it prints “decode image image.jpg failed”, I |
Okay, this has gotten weird. Looked at the image format with |
Sorry, I'm not good with Linux shells or termux, using a sh script is a good way. |
Yeah... I didn't know anything about this environment variable. It does help, thank you. |
Hello, and thank you for making this software. I appreciate it.
I've been trying to use realsr-ncnn in a script along with gallery-dl, but I cannot execute it unless I'm in it's directory. For example, executing
./realsr/realsr-ncnn
in Termux home directory throws this error:realsr directory content:
After this error, I've tried making a script that will execute
realsr-ncnn
in it's directory:With
realsr
, it shows the usage, which means it works. But when trying to upscale an image this way, this error is occuring (verbose output):This same picture is being upscaled only if I go into the directory where
realsr-ncnn
resides and execute from there in terminal.Tried copying libncnn.so to usr/lib/ and this didn't work either. What would be the best approach to this?
Edit: My workaround is the
realsr
script in/data/data/com.termux/files/usr/bin
.Content:
The text was updated successfully, but these errors were encountered: