From 40e074d55c26e5c0a03419c0232be3bdc6233f9a Mon Sep 17 00:00:00 2001 From: hzwer <598460606@163.com> Date: Wed, 18 Nov 2020 11:58:29 +0800 Subject: [PATCH 1/4] Update colab --- Colab_demo.ipynb | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Colab_demo.ipynb b/Colab_demo.ipynb index 9a5d733..27f119d 100644 --- a/Colab_demo.ipynb +++ b/Colab_demo.ipynb @@ -77,7 +77,7 @@ }, "source": [ "!nvidia-smi\n", - "!python3 inference_video.py --times=2 --video demo.mp4 --montage --skip" + "!python3 inference_video.py --times=2 --video=demo.mp4 --montage --skip" ], "execution_count": null, "outputs": [] @@ -88,7 +88,9 @@ "id": "77KK6lxHgJhf" }, "source": [ - "Our demo.mp4 is 24FPS. You can adjust the parameters for your own perference." + "Our demo.mp4 is 25FPS. You can adjust the parameters for your own perference.\n", + "For example: \n", + "--fps=60 --times=1 --video=mydemo.avi --png" ] }, { @@ -98,7 +100,7 @@ }, "source": [ "!nvidia-smi\n", - "!python3 inference_video_parallel.py --times=1 --video demo.mp4 --skip" + "!python3 inference_video_parallel.py --times=1 --video=demo.mp4 --skip" ], "execution_count": null, "outputs": [] @@ -109,7 +111,9 @@ "id": "KjqnCQ_-53I7" }, "source": [ - "Try our 4 road parallel to process your video, expect 2x speedup! (Do not support montage mode)" + "Try our 4 road parallel to process your video, expect 100% speedup! (Do not support montage mode)\n", + "\n", + "Unfortunately, no difference can be seen on Google colab servers." ] }, { From fd49bc8471207624ef688b13d931da994a327e38 Mon Sep 17 00:00:00 2001 From: hzwer <598460606@163.com> Date: Wed, 18 Nov 2020 12:01:50 +0800 Subject: [PATCH 2/4] Update README.md --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 86fd8d6..8f11c64 100644 --- a/README.md +++ b/README.md @@ -36,29 +36,29 @@ The models under different setting is coming soon. **Video 2x Interpolation** -You can use our [demo video](https://drive.google.com/file/d/1i3xlKb7ax7Y70khcTcuePi6E7crO_dFc/view?usp=sharing) or use your own video to run our model. +You can use our [demo video](https://drive.google.com/file/d/1i3xlKb7ax7Y70khcTcuePi6E7crO_dFc/view?usp=sharing) or use your own video to process. ``` -$ python3 inference_video.py --times=1 --video video.mp4 +$ python3 inference_video.py --times=1 --video=video.mp4 ``` -(generate video_2X_xxfps.mp4, you can use this script recursively) +(generate video_2X_xxfps.mp4, you can use this script repeatly to get 4X, 8X...) ``` -$ python3 inference_video.py --times=2 --video video.mp4 +$ python3 inference_video.py --times=2 --video=video.mp4 ``` -(if you want 4X interpolation) +(we specificly support times=2 for 4X interpolation) ``` -$ python3 inference_video.py --times=2 --video video.mp4 --fps=60 +$ python3 inference_video.py --times=2 --video=video.mp4 --fps=60 ``` (add slomo effect) ``` -$ python3 inference_video.py --video video.mp4 --montage --png +$ python3 inference_video.py --video=video.mp4 --montage --png ``` (if you want to montage the origin video, and save the png format output) ``` -$ python3 inference_video_parallel.py --times=2 --video video.mp4 +$ python3 inference_video_parallel.py --times=2 --video=video.mp4 ``` (Try our parallel process to get 100% speedup!) -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 24FPS 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. **Image Interpolation** From bd7ab7d5d7ced568fe5ce1c400d6bc47c49666da Mon Sep 17 00:00:00 2001 From: hzwer <598460606@163.com> Date: Wed, 18 Nov 2020 12:35:59 +0800 Subject: [PATCH 3/4] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8f11c64..8c8028e 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # RIFE -## [arXiv](https://arxiv.org/abs/2011.06294) | [Project Page](https://rife-vfi.github.io) | [Reddit](https://www.reddit.com/r/MachineLearning/comments/juv419/r_rife_15fps_to_60fps_video_frame_interpolation/) | [YouTube(24fps->96fps)](https://youtu.be/kUQ7KK6MhHw) +## [arXiv](https://arxiv.org/abs/2011.06294) | [Project Page](https://rife-vfi.github.io) | [Reddit](https://www.reddit.com/r/MachineLearning/comments/juv419/r_rife_15fps_to_60fps_video_frame_interpolation/) | [YouTube](https://youtu.be/kUQ7KK6MhHw) -**2020.11.17 News: Try our 4 road parallel to process video, got 100% speedup!** +**11.18 News: Try our 4 road GPU parallel to process video, got 100% speedup for 2X and 4X interpolation!** -**Date of recent model update: 2020.11.16, v1.1** +Date of recent model update: 2020.11.16, v1.1 **You can easily use [colaboratory](https://colab.research.google.com/github/hzwer/arXiv2020-RIFE/blob/main/Colab_demo.ipynb) to have a try and generate the above youtube demo.** From d55b92e1bace5fe893f59326bc252888dfc9ed17 Mon Sep 17 00:00:00 2001 From: hzwer <598460606@163.com> Date: Wed, 18 Nov 2020 12:39:08 +0800 Subject: [PATCH 4/4] Rename model --- Colab_demo.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Colab_demo.ipynb b/Colab_demo.ipynb index 27f119d..5ef7dfc 100644 --- a/Colab_demo.ipynb +++ b/Colab_demo.ipynb @@ -42,7 +42,7 @@ }, "source": [ "!gdown --id 1zYc3PEN4t6GOUoVYJjvcXoMmM3kFDNGS\n", - "!7z e RIFE_trained_model_v1.1.zip" + "!7z e RIFE_trained_model_new.zip" ], "execution_count": null, "outputs": []