1
0
mirror of https://github.com/fumiama/RVC-Models-Downloader.git synced 2024-09-29 14:26:25 +09:00
RVC-Models-Downloader/README.md

107 lines
3.1 KiB
Markdown
Raw Normal View History

2024-04-17 15:50:40 +09:00
# RVC-Models-Downloader
2024-05-12 20:21:10 +09:00
English | [简体中文](README_sc.md) | [한국어](README_kr.md)
2024-04-20 00:38:28 +09:00
Easy tool to download a batch of files listed in yaml (ex. RVC models in Hugging Face 🤗).
2024-04-18 02:13:23 +09:00
![tui demo](https://github.com/fumiama/RVC-Models-Downloader/assets/41315874/db577dfb-8a6d-4909-b071-9d36cc77afc6)
2024-04-20 17:45:56 +09:00
2024-04-18 02:13:23 +09:00
## Quick Start
2024-05-12 20:21:10 +09:00
2024-04-18 02:13:23 +09:00
### Preparation
2024-05-12 20:21:10 +09:00
1. Download the program at [Release](https://github.com/fumiama/RVC-Models-Downloader/releases) page.
2024-04-20 00:39:58 +09:00
2. Put this program into the root directory of RVC (or whatever position you want to download some files into).
2024-04-20 00:38:28 +09:00
3. You can also add it to the `PATH` to use this tool everywhere. If you have installed this program by a package manager, it may be already in the `PATH`.
2024-05-12 20:21:10 +09:00
2024-04-18 18:29:08 +09:00
### Download
2024-05-12 20:21:10 +09:00
2024-04-20 00:38:28 +09:00
#### All Assets of RVC
2024-05-12 20:21:10 +09:00
2024-04-18 02:13:23 +09:00
```bash
rvcmd assets/rvc
2024-04-18 02:13:23 +09:00
```
2024-05-12 20:21:10 +09:00
#### All Assets of ChatTTS
2024-05-12 20:21:10 +09:00
2024-04-18 02:13:23 +09:00
```bash
rvcmd -w 1 assets/chtts
2024-04-18 02:13:23 +09:00
```
2024-05-12 20:21:10 +09:00
2024-04-18 18:30:32 +09:00
### Customized Download
2024-05-12 20:21:10 +09:00
#### Ex.1. Download hubert & rmvpe
2024-05-12 20:21:10 +09:00
1. Write and save the following `cust.yaml`.
```yaml
BaseURL: https://huggingface.co/fumiama/RVC-Pretrained-Models/resolve/main
Targets:
- Refer: hubert
- Refer: rmvpe
```
2. Run `rvcmd` in the same folder.
```bash
rvcmd -c cust
```
2024-05-12 20:21:10 +09:00
2024-04-20 00:03:31 +09:00
#### Ex.2. Download other Repositories in 🤗
2024-05-12 20:21:10 +09:00
> Use [Stable Diffusion v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5) as the example.
2024-05-12 20:21:10 +09:00
1. Write and save the following `cust.yaml`.
```yaml
BaseURL: https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main
Targets:
- Folder: sd1.5 # the folder you want to download into
Copy: # files to download
- v1-5-pruned-emaonly.ckpt
- v1-5-pruned-emaonly.safetensors
- Folder: sd1.5/vae # the folder you want to download into
Copy: # files to download
- vae/diffusion_pytorch_model.bin
```
2024-05-12 20:21:10 +09:00
2024-04-20 00:03:31 +09:00
#### Ex.3. Download Releases in GitHub
2024-05-12 20:21:10 +09:00
2024-04-20 00:03:31 +09:00
> Use [yousa-ling-diffsinger-v1.3](https://github.com/yousa-ling-official-production/yousa-ling-diffsinger-v1/releases/tag/v1.3) as the example.
2024-05-12 20:21:10 +09:00
2024-04-20 00:03:31 +09:00
1. Write and save the following `cust.yaml`.
```yaml
BaseURL: https://github.com/yousa-ling-official-production/yousa-ling-diffsinger-v1/releases/download/v1.3
Targets:
- Folder: . # the folder you want to download into
Copy: # files to download
- yousaV1.3.zip
```
2. Run `rvcmd` in the same folder.
```bash
rvcmd -c cust
```
2024-05-12 20:21:10 +09:00
2024-04-18 02:13:23 +09:00
## Full Usage
2024-05-12 20:21:10 +09:00
2024-04-18 02:13:23 +09:00
```bash
Usage: rvcmd [-notrs] [-dns dns.yaml] 'target/to/download'
-c use custom yaml instruction
2024-04-18 02:13:23 +09:00
-dns string
custom dns.yaml
2024-04-18 18:42:23 +09:00
-f force download even file exists
2024-04-18 02:13:23 +09:00
-notrs
use standard TLS client
2024-04-20 18:12:41 +09:00
-notui
use plain text instead of TUI
2024-05-18 20:29:23 +09:00
-ua string
customize user agent (default "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0")
2024-04-19 01:26:06 +09:00
-w uint
connection waiting seconds (default 4)
2024-04-18 02:13:23 +09:00
'target/to/download'
like packs/general/latest
All available targets:
assets:
chtts hubert rmvpe rvc uvr5 v1 v2
2024-04-18 02:13:23 +09:00
```
2024-05-12 20:21:10 +09:00
2024-04-20 18:15:59 +09:00
## Demo Video
https://github.com/fumiama/RVC-Models-Downloader/assets/41315874/da2b5827-8b1a-45f8-a9c0-03a5618ad5f8