Update README.md
Browse files
README.md
CHANGED
|
@@ -1,9 +1,25 @@
|
|
| 1 |
---
|
|
|
|
| 2 |
tags:
|
| 3 |
-
-
|
| 4 |
-
|
| 5 |
---
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: cc-by-nc-4.0
|
| 3 |
tags:
|
| 4 |
+
- audio-to-video
|
| 5 |
+
library_name: diffusers
|
| 6 |
---
|
| 7 |
|
| 8 |
+
Models of [R-FLAV](https://arxiv.org/abs/2503.08307) trained on Landscape and AIST++ for 400k iterations.
|
| 9 |
+
|
| 10 |
+
For more info, please refer to the Github repository at https://github.com/MaverickAlex/R-FLAV
|
| 11 |
+
|
| 12 |
+
To download the ckpts directly in the code you can do
|
| 13 |
+
```python
|
| 14 |
+
from huggingface_hub import hf_hub_download
|
| 15 |
+
import torch
|
| 16 |
+
from models import FLAV
|
| 17 |
+
|
| 18 |
+
model = FLAV.from_pretrained(args.model_ckpt)
|
| 19 |
+
|
| 20 |
+
hf_hub_download(repo_id="MaverickAlex/R-FLAV-B-1-LS", filename="vocoder/config.json")
|
| 21 |
+
vocoder_path = hf_hub_download(repo_id="MaverickAlex/R-FLAV-B-1-LS", filename="vocoder/vocoder.pt")
|
| 22 |
+
|
| 23 |
+
vocoder_path = vocoder_path.replace("vocoder.pt", "")
|
| 24 |
+
vocoder = Generator.from_pretrained(vocoder_path)
|
| 25 |
+
```
|