Add MIT LICENSE and model card (RIFE v4.9, attribution to hzwer/Practical-RIFE)
Browse files
LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2021 hzwer (RIFE / Practical-RIFE)
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
library_name: onnx
|
| 4 |
+
pipeline_tag: video-to-video
|
| 5 |
+
tags:
|
| 6 |
+
- rife
|
| 7 |
+
- frame-interpolation
|
| 8 |
+
- video
|
| 9 |
+
- onnx
|
| 10 |
+
- webgpu
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# RIFE v4.9 (ONNX)
|
| 14 |
+
|
| 15 |
+
`rife49.onnx` — an ONNX export of **RIFE v4.9** for video frame interpolation
|
| 16 |
+
(synthesising the in-between frames when raising a video's frame rate). Runs
|
| 17 |
+
client-side with onnxruntime-web on the WASM or WebGPU execution providers.
|
| 18 |
+
|
| 19 |
+
## Inputs / outputs
|
| 20 |
+
|
| 21 |
+
- **Inputs:** `img0` float32 `[1, 3, H, W]`, `img1` float32 `[1, 3, H, W]`,
|
| 22 |
+
`timestep` float32 `[1]`
|
| 23 |
+
- **Output:** `output` float32 `[1, 3, H, W]` — the interpolated frame at
|
| 24 |
+
`timestep` (0..1) between `img0` and `img1`
|
| 25 |
+
- Planar RGB (CHW), values in 0..1. `H` and `W` are padded to a multiple of 32
|
| 26 |
+
for reference quality.
|
| 27 |
+
|
| 28 |
+
## Provenance & license
|
| 29 |
+
|
| 30 |
+
- **Algorithm:** RIFE — *Real-Time Intermediate Flow Estimation for Video Frame
|
| 31 |
+
Interpolation* (Megvii, ECCV 2022), original code MIT
|
| 32 |
+
(`Copyright (c) Megvii Inc.`).
|
| 33 |
+
- **Weights:** [hzwer/Practical-RIFE](https://github.com/hzwer/Practical-RIFE)
|
| 34 |
+
(v4.9). Practical-RIFE releases both its code **and its model weights** under
|
| 35 |
+
the **MIT license** — its README states the model links are "under the same
|
| 36 |
+
MIT license as this project."
|
| 37 |
+
- **ONNX export:**
|
| 38 |
+
[yuvraj108c/rife-onnx](https://huggingface.co/yuvraj108c/rife-onnx)
|
| 39 |
+
(`rife49_ensemble_True_scale_1_sim.onnx`).
|
| 40 |
+
|
| 41 |
+
**License: MIT.** See [`LICENSE`](./LICENSE) (`Copyright (c) 2021 hzwer`). This
|
| 42 |
+
repository mirrors the model so it can be fetched at runtime by the Edge Tools
|
| 43 |
+
app; a format conversion of MIT-licensed weights remains MIT.
|