xinntao / Real-ESRGAN-ncnn-vulkan

NCNN implementation of Real-ESRGAN. Real-ESRGAN aims at developing Practical Algorithms for General Image Restoration.
https://github.com/xinntao/Real-ESRGAN
Other
1.44k stars 173 forks source link

need a detailed instruction to install #4

Open mikebilly opened 2 years ago

mikebilly commented 2 years ago

I'm getting this error:

./realesrgan-ncnn-vulkan: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./realesrgan-ncnn-vulkan)
Ednaordinary commented 2 years ago

Somewhat related: I'm getting that same error when running the executable of esrgan in Google Colab (an error before this needed me to install libvulkan-dev)

Ednaordinary commented 2 years ago

Temporary fix: downgrade to version 2.2.4 ( https://github.com/xinntao/Real-ESRGAN )

kodxana commented 2 years ago

Connected with: https://github.com/xinntao/Real-ESRGAN/issues/204#issuecomment-1002585079

lordkitsuna commented 2 years ago

i need even more detailed instructions i feel like i am missing something super obvious but i don't see any make file or anything like that, no binary already in the repo, i honestly cant tell how to use this repository at all. I just know i will end up feeling stupid when someone tells me what i am missing

Ednaordinary commented 2 years ago

It's not something obvious and took me a while to troubleshoot on colab before I just reverted versions. Try updating your packages and installing the package 'libc6' (I'm not expecting much from that because it's a default installed and dangerous to uninstall package on most/all Linux OSes, but it's worth a try). If that doesn't work you should update your distro version if you can, if your using Ubuntu then 19.10 or newer should work. To upgrade on Ubuntu you can do sudo do-release-upgrade, this will take a while, you will have to restart after your done, and it's more avoiding the problem than fixing it

kodxana commented 2 years ago

@mikebilly I have prebuild binary file that works on colab :) https://github.com/xinntao/Real-ESRGAN/files/7864973/realesrgan-ncnn-vulkan-colab.zip

mikebilly commented 2 years ago

@mikebilly I have prebuild binary file that works on colab :) https://github.com/xinntao/Real-ESRGAN/files/7864973/realesrgan-ncnn-vulkan-colab.zip

could you please send me the link to your notebook? thanks so much!