media2x / rife-ncnn-vulkan-python Goto Github PK
View Code? Open in Web Editor NEWA Python FFI of nihui/rife-ncnn-vulkan achieved with SWIG
License: MIT License
A Python FFI of nihui/rife-ncnn-vulkan achieved with SWIG
License: MIT License
Hi,
Continuing with our discussion in nihui/rife-ncnn-vulkan#72
Here's the output for pip install:
I will also try manually building, I just figured that I was using VS 2022 so that could've been an issue so I have downgraded to 2019 and I have yet to see if that will yield in any success.
i have this file libvulkan.so.1 in /content/libvulkan.so.1
is there download link for this file libvulkan.so.1
i even copy /usr/local/lib/python3.10/dist-packages/rife_ncnn_vulkan_python/
still nothing
where do i put this file, there is not single result on google for this
ImportError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/rife_ncnn_vulkan_python/rife_ncnn_vulkan_wrapper.py in swig_import_helper()
13 try:
---> 14 return importlib.import_module(mname)
15 except ImportError:
14 frames
ImportError: libvulkan.so.1: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
ModuleNotFoundError Traceback (most recent call last)
/usr/lib/python3.10/importlib/init.py in import_module(name, package)
124 break
125 level += 1
--> 126 return _bootstrap._gcd_import(name[level:], package, level)
127
128
ModuleNotFoundError: No module named '_rife_ncnn_vulkan_wrapper'
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
hzwer's as well as nihui's models have recently updated to v3
https://github.com/hzwer/arXiv2020-RIFE/issues/164
https://github.com/nihui/rife-ncnn-vulkan/releases/tag/20210516
when you try to import the module: "from rife_ncnn_vulkan import RIFE"
the following error will come:
Traceback (most recent call last):
File ".\run_test.py", line 1, in
from rife_ncnn_vulkan import RIFE
File "C:\Users%username%\Projects\Restoration_GUI\rife\rife_ncnn_vulkan.py", line 12, in
import rife_ncnn_vulkan_wrapper as raw
File "C:\Users%username%\Projects\Restoration_GUI\rife\rife_ncnn_vulkan_wrapper.py", line 15, in
import _rife_ncnn_vulkan_wrapper
ImportError: DLL load failed while importing _rife_ncnn_vulkan_wrapper: The specified module could not be found.
I download the following file:
When downloading rife-ncnn-vulkan-python-20210504-windows.zip
This is also the case for previous builds
Hello and thank you for this nice port to python !
when i try to execute rife_ncnn_vulkan.py ( with pics added to ../images folder ) .. latest release download https://github.com/media2x/rife-ncnn-vulkan-python/releases/tag/20210520
I get the following error.
Traceback (most recent call last):
File "/Users/drquader/Desktop/RIFE_python/rife-ncnn-vulkan-python-20210504-macos/rife_ncnn_vulkan.py", line 12, in <module>
import rife_ncnn_vulkan_wrapper as raw
File "/Users/drquader/Desktop/RIFE_python/rife-ncnn-vulkan-python-20210504-macos/rife_ncnn_vulkan_wrapper.py", line 15, in <module>
import _rife_ncnn_vulkan_wrapper
ImportError: dlopen(/Users/drquader/Desktop/RIFE_python/rife-ncnn-vulkan-python-20210504-macos/_rife_ncnn_vulkan_wrapper.so, 2): Symbol not found: _NSLocalizedDescriptionKey
Referenced from: /Users/drquader/Desktop/RIFE_python/rife-ncnn-vulkan-python-20210504-macos/_rife_ncnn_vulkan_wrapper.so
Expected in: flat namespace
in /Users/drquader/Desktop/RIFE_python/rife-ncnn-vulkan-python-20210504-macos/_rife_ncnn_vulkan_wrapper.so
this usually means it is not linked against Foundation Framework. Any idea ?
Thanks alot !
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.