Update README.md

This commit is contained in:
hzwer
2021-06-16 14:35:56 +08:00
committed by GitHub
parent 9be41bc27f
commit b72f121c9f
+6 -6
View File
@@ -1,5 +1,5 @@
# Pratical-RIFE
This project is based on [RIFE](https://github.com/hzwer/arXiv2020-RIFE). This project aims to make RIFE more practical for users by adding various features and design new model. To reduce development difficulty, we hope this part of work and our academic research independent of each other. This project is developed for engineers and developers. For users, we recommend the following applications:
This project is based on [RIFE](https://github.com/hzwer/arXiv2020-RIFE) and aims to make RIFE more practical for users by adding various features and design new models. We hope this part of work and our academic research are independent of each other to reduce development difficulty. This project is developed for engineers and developers. For users, we recommend the following applications:
[Squirrel-RIFE(中文软件)](https://github.com/YiWeiHuang-stack/Squirrel-Video-Frame-Interpolation) | [Waifu2x-Extension-GUI](https://github.com/AaronFeng753/Waifu2x-Extension-GUI) | [Flowframes](https://nmkd.itch.io/flowframes) | [RIFE-ncnn-vulkan](https://github.com/nihui/rife-ncnn-vulkan) | [RIFE-App(Paid)](https://grisk.itch.io/rife-app) | [Autodesk Flame](https://vimeo.com/505942142) | [SVP](https://www.svp-team.com/wiki/RIFE_AI_interpolation) |
For business cooperation, please [contact my email](mailto:huangzhewei@megvii.com).
@@ -24,7 +24,7 @@ Make the model applicable under any resolution input
Provide models with lower calculation consumption
## Report Bad Cases
Please take a screenshot of your original video clip and share it with us via Github issue and Google Drive. We may add it to our test set so that it is likely to be improved in later versions. It will be very helpful to attach a screenshot of the model's effect in the issue.
Please take a screenshot of your original video clip and share it with us via Github issue and Google Drive. We may add it to our test set so that it is likely to be improved in later versions. It will be beneficial to attach a screenshot of the model's effect on the issue.
## Usage
@@ -38,12 +38,12 @@ git clone git@github.com:hzwer/Pratical-RIFE.git
cd Pratical-RIFE
pip3 install -r requirements.txt
```
Download a model from model list and put *.py and flownet.pkl on model/
Download a model from the model list and put *.py and flownet.pkl on model/
### Run
**Video Frame Interpolation**
You can use our [demo video](https://drive.google.com/file/d/1i3xlKb7ax7Y70khcTcuePi6E7crO_dFc/view?usp=sharing) or your own video.
You can use our [demo video](https://drive.google.com/file/d/1i3xlKb7ax7Y70khcTcuePi6E7crO_dFc/view?usp=sharing) or your video.
```
python3 inference_video.py --exp=1 --video=video.mp4
```
@@ -55,7 +55,7 @@ python3 inference_video.py --exp=2 --video=video.mp4
```
python3 inference_video.py --exp=1 --video=video.mp4 --scale=0.5
```
(If your video has very high resolution such as 4K, we recommend set --scale=0.5 (default 1.0). If you generate disordered pattern on your videos, try set --scale=2.0. This parameter control the process resolution for optical flow model.)
(If your video has high resolution, such as 4K, we recommend set --scale=0.5 (default 1.0))
```
python3 inference_video.py --exp=2 --img=input/
```
@@ -65,7 +65,7 @@ python3 inference_video.py --exp=2 --video=video.mp4 --fps=60
```
(add slomo effect, the audio will be removed)
The warning info, 'Warning: Your video has *** static frames, it may change the duration of the generated video.' means that your video has changed the frame rate by adding static frames, it is common if you have processed 25FPS video to 30FPS.
The warning info, 'Warning: Your video has *** static frames, it may change the duration of the generated video.' means that your video has changed the frame rate by adding static frames. It is common if you have processed 25FPS video to 30FPS.
## Citation