|
Download README.md from WaveCut/lerp-models: direct link, hf CLI and curl.
- Browser
- Download file 2.83 kB
-
https://huggingface.co/WaveCut/lerp-models/resolve/main/README.md
- Command line
-
hf download hf://WaveCut/lerp-models/README.md
-
curl -L -o README.md https://huggingface.co/WaveCut/lerp-models/resolve/main/README.md
2.83 kB
| license: other | |
| license_name: mit-and-apache-2.0 | |
| license_link: https://huggingface.co/WaveCut/lerp-models/blob/main/NOTICE | |
| library_name: coreml | |
| tags: | |
| - video-frame-interpolation | |
| - coreml | |
| - apple-silicon | |
| # Lerp models | |
| Core ML packages that the [Lerp](https://github.com/iamwavecut/Lerp) macOS app | |
| downloads on first launch. Each archive is a zip of one `.mlpackage`: an ML | |
| Program for macOS 14 and later with image inputs `img0` and `img1`, a | |
| `timestep` tensor (1×1×1×1, 0…1) and an image output `pred`, at a fixed | |
| window. Lerp pins every archive by byte size and SHA-256 (`SHA256SUMS`), so | |
| files here must not change once a release depends on them. | |
| | Archive | Model | Window | Precision | License | | |
| |---|---|---|---|---| | |
| | `rife425_1080p_fp16_img-v2.mlpackage.zip` | RIFE 4.25 | 1920×1088 | fp16 | MIT, see `LICENSE-RIFE` | | |
| | `rife425_720p_fp16_img-v2.mlpackage.zip` | RIFE 4.25 | 1280×768 | fp16 | MIT, see `LICENSE-RIFE` | | |
| | `emavfi_t_refine_1080p_mixed_img-v2.mlpackage.zip` | EMA-VFI `ours_t` with RefineNet | 1920×1088 | fp16 convolutions and linear layers, fp32 elsewhere | Apache-2.0, see `LICENSE-EMA-VFI` and `NOTICE` | | |
| `-v2` marks the second export graph of each model; the first export was not | |
| published. A later revision gets a new archive name, and the archives listed | |
| here stay unchanged for the Lerp builds that pin them. | |
| ## Sources | |
| - **RIFE 4.25** weights by hzwer, published with | |
| [Practical-RIFE](https://github.com/hzwer/Practical-RIFE) under the MIT | |
| license. Converted through Lerp's own inference graph; no Practical-RIFE | |
| code is included. | |
| - **EMA-VFI** by Guozhen Zhang, Yuhan Zhu, Haonan Wang, Youxin Chen, Gangshan | |
| Wu and Limin Wang, "Extracting Motion and Appearance via Inter-Frame | |
| Attention for Efficient Video Frame Interpolation", CVPR 2023, | |
| [MCG-NJU/EMA-VFI](https://github.com/MCG-NJU/EMA-VFI), Apache-2.0. The | |
| `ours_t` (arbitrary-timestep) checkpoint is used. The checkpoints are | |
| distributed by the authors without separate license text; they are | |
| redistributed here under the repository's Apache-2.0 license. | |
| ## Changes | |
| The models were converted to Core ML with image inputs and outputs and a | |
| fixed window (frames are edge-padded to it). Every transposed convolution is | |
| exported as a convolution followed by a pixel shuffle (the same products in a | |
| different summation order), and RIFE warps both frames in one batch; on an M2 | |
| Max GPU these graphs run 30 % (RIFE) and 40 % (EMA-VFI) faster than the plain | |
| export. RIFE runs in fp16 | |
| and re-creates dropped real frames within 0.072 dB (1080p) and 0.055 dB (720p) | |
| of the PyTorch reference. EMA-VFI runs with RefineNet enabled, convolutions | |
| and linear layers in fp16 and attention, normalization and warps in fp32; it | |
| is within 0.054 dB of its PyTorch reference. The network weights are otherwise | |
| unchanged. | |