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

set up rife-ncnn-vulkan on google colab #46

Open
mikebilly opened this issue Jun 18, 2022 · 2 comments
Open

set up rife-ncnn-vulkan on google colab #46

mikebilly opened this issue Jun 18, 2022 · 2 comments

Comments

@mikebilly
Copy link

It would be awesome if anyone could build on google colab for me! Because I've been getting this error:

/content/rife-ncnn-vulkan-20220330-ubuntu/rife-ncnn-vulkan: error while loading shared libraries: libvulkan.so.1: cannot open shared object file: No such file or directory
@Mar2ck
Copy link

Mar2ck commented Jun 20, 2022

Try:

!apt install libvulkan1

@tjthejuggler
Copy link

go to the place you want to install it either just in colab /content or your gdrive and run these
!apt-get install libvulkan-dev
!git clone /~https://github.com/nihui/rife-ncnn-vulkan.git
%cd rife-ncnn-vulkan
!git submodule update --init --recursive
!apt update
!apt install -y cmake
!pip install dlib
!mkdir build
%cd build
!cmake ../src
!cmake --build . -j 4
((move rife-v2.3 from models folder to build folder))
!/content/drive/MyDrive/AI/rife-ncnn-vulkan/build/rife-ncnn-vulkan -0 /content/image1.png -1 /content/image2.png -o /content/output.png

if you do it in your gdrive, then all you need to run in a fresh runtime is this

!apt-get install libvulkan-dev
!chmod 755 /content/drive/MyDrive/AI/rife-ncnn-vulkan/build/rife-ncnn-vulkan
!/content/drive/MyDrive/AI/rife-ncnn-vulkan/build/rife-ncnn-vulkan -0 /content/image1.png -1 /content/image2.png -o /content/output.png

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

3 participants