Skip to content

Commit

Permalink
Merge pull request #31 from TNTwise/master
Browse files Browse the repository at this point in the history
add rife-v4.15
  • Loading branch information
styler00dollar authored Mar 12, 2024
2 parents e9aacd1 + b0859a2 commit add9e35
Show file tree
Hide file tree
Showing 6 changed files with 960 additions and 5 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,13 @@ By default models are exported with ensemble=False and Fast=True
- 44 = rife-v4.14 (ensemble=True)
- 45 = rife-v4.14-lite (ensemble=False)
- 46 = rife-v4.14-lite (ensemble=True)
- 47 = rife-v4.15 (ensemble=False)
- 48 = rife-v4.15 (ensemble=True)
## My experimental custom models (only works with 2x)

- 47 = sudo_rife4 (ensemble=False / fast=True)
- 48 = sudo_rife4 (ensemble=True / fast=False)
- 49 = sudo_rife4 (ensemble=True / fast=True)
- 49 = sudo_rife4 (ensemble=False / fast=True)
- 50 = sudo_rife4 (ensemble=True / fast=False)
- 51 = sudo_rife4 (ensemble=True / fast=True)

- factor_num, factor_den: Factor of target frame rate. For example `factor_num=5, factor_den=2` will multiply input clip FPS by 2.5. Only rife-v4 model supports custom frame rate.

Expand Down
10 changes: 8 additions & 2 deletions RIFE/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -427,12 +427,18 @@ static void VS_CC rifeCreate(const VSMap* in, VSMap* out, [[maybe_unused]] void*
modelPath += "/rife-v4.14_lite_ensembleTrue";
break;
case 47:
modelPath += "/sudo_rife4_ensembleFalse_fastTrue";
modelPath += "/rife-v4.15_ensembleFalse";
break;
case 48:
modelPath += "/sudo_rife4_ensembleTrue_fastFalse";
modelPath += "/rife-v4.15_ensembleTrue";
break;
case 49:
modelPath += "/sudo_rife4_ensembleFalse_fastTrue";
break;
case 50:
modelPath += "/sudo_rife4_ensembleTrue_fastFalse";
break;
case 51:
modelPath += "/sudo_rife4_ensembleTrue_fastTrue";
break;

Expand Down
Binary file added models/rife-v4.15_ensembleFalse/flownet.bin
Binary file not shown.
Loading

0 comments on commit add9e35

Please sign in to comment.