You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[rife-ncnn-vulkan](https://github.com/nihui/rife-ncnn-vulkan) is nihui's ncnn implementation of Real-World Super-Resolution via Kernel Estimation and Noise Injection super resolution.
4
5
5
-
ncnn implementation of RIFE, Real-Time Intermediate Flow Estimation for Video Frame Interpolation.
6
+
rife-ncnn-vulkan-python wraps [rife-ncnn-vulkan project](https://github.com/nihui/rife-ncnn-vulkan) by SWIG to make it easier to integrate rife-ncnn-vulkan with existing python projects.
6
7
7
-
rife-ncnn-vulkan uses [ncnn project](https://github.com/Tencent/ncnn) as the universal neural network inference framework.
First, you have to install python, python development package (Python native development libs in Visual Studio), vulkan SDK and SWIG on your platform. And then:
14
16
15
-
This package includes all the binaries and models required. It is portable, so no CUDA or PyTorch runtime environment is needed :)
I used Visual Studio 2019 and msvc v142 to build this project for Windows.
29
+
30
+
Install visual studio and open the project directory, and build. Job done.
31
+
32
+
The only problem on Windows is that, you cannot use [CMake for Windows](https://cmake.org/download/) to generate the Visual Studio solution file and build it. This will make the lib crash on loading.
33
+
34
+
The only way is [use Visual Studio to open the project as directory](https://www.microfocus.com/documentation/visual-cobol/vc50/VS2019/GUID-BE1C48AA-DB22-4F38-9644-E9B48658EF36.html), and build it from Visual Studio.
16
35
17
36
## About RIFE
18
37
@@ -25,112 +44,26 @@ Huang, Zhewei and Zhang, Tianyuan and Heng, Wen and Shi, Boxin and Zhou, Shuchan
25
44
https://rife-vfi.github.io
26
45
27
46
https://arxiv.org/abs/2011.06294
28
-
29
47
## Usages
30
48
31
-
Input two frame images, output one interpolated frame image.
Example below runs on CPU, Discrete GPU, and Integrated GPU all at the same time. Uses 2 threads for image decoding, 4 threads for one CPU worker, 4 threads for another CPU worker, 2 threads for discrete GPU, 1 thread for integrated GPU, and 4 threads for image encoding.
-`input0-path`, `input1-path` and `output-path` accept file path
88
-
-`input-path` and `output-path` accept file directory
89
-
-`load:proc:save` = thread count for the three stages (image decoding + rife interpolation + image encoding), using larger values may increase GPU usage and consume more GPU memory. You can tune this configuration with "4:4:4" for many small-size images, and "2:2:2" for large-size images. The default setting usually works fine for most situations. If you find that your GPU is hungry, try increasing thread count to achieve faster processing.
90
-
-`pattern-format` = the filename pattern and format of the image to be output, png is better supported, however webp generally yields smaller file sizes, both are losslessly encoded
91
-
92
61
If you encounter a crash or error, try upgrading your GPU driver:
0 commit comments