1
0
mirror of https://github.com/fumiama/RVC-Models-Downloader.git synced 2024-11-17 13:47:11 +09:00
RVC-Models-Downloader/README_sc.md

134 lines
3.5 KiB
Markdown
Raw Permalink Normal View History

2024-05-12 20:21:10 +09:00
# RVC 模型下载器
[English](README.md) | 简体中文 | [한국어](README_kr.md)
2024-04-20 00:38:28 +09:00
2024-04-20 00:42:18 +09:00
一个能够批量下载`yaml`清单内文件的简单工具(例如 Hugging Face 🤗 中的 RVC 模型)。
2024-04-20 00:38:28 +09:00
2024-04-20 18:14:56 +09:00
![tui demo](https://github.com/RVC-Project/RVC-Models-Downloader/assets/41315874/db577dfb-8a6d-4909-b071-9d36cc77afc6)
2024-04-20 17:46:07 +09:00
2024-04-20 00:38:28 +09:00
## 快速开始
2024-05-12 20:21:10 +09:00
2024-04-20 00:38:28 +09:00
### 准备工作
2024-05-12 20:21:10 +09:00
2024-04-20 00:38:28 +09:00
1. 在[发布](https://github.com/RVC-Project/RVC-Models-Downloader/releases)页面下载程序。
2024-05-12 20:21:10 +09:00
2. 将此程序放入 RVC 的根目录(或您想要下载文件的任何位置)。
2024-04-20 00:38:28 +09:00
3. 您也可以将它添加到`PATH`中以便在任何地方使用此工具。如果您已经通过包管理器安装了此程序,那么它可能已经位于`PATH`。
2024-05-12 20:21:10 +09:00
2024-04-20 00:38:28 +09:00
### 下载
2024-05-12 20:21:10 +09:00
#### RVC 的所有资源文件
2024-04-20 00:38:28 +09:00
```bash
rvcmd assets/all
```
2024-05-12 20:21:10 +09:00
#### RVC 的最新通用整合包(仅限 Windows
2024-04-20 00:38:28 +09:00
```bash
rvcmd packs/general/latest
```
2024-05-12 20:21:10 +09:00
#### ffmpeg 工具(仅限 Windows
2024-04-20 00:38:28 +09:00
```bash
rvcmd tools/ffmpeg
```
2024-05-12 20:21:10 +09:00
2024-04-20 00:38:28 +09:00
### 自定义下载
2024-05-12 20:21:10 +09:00
#### 示例 1. 下载 ffmpeg 工具和最新的 Intel 包
2024-04-20 00:38:28 +09:00
1. 编写并保存以下`cust.yaml`。
2024-05-12 20:21:10 +09:00
```yaml
BaseURL: https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main
Targets:
- Refer: tools/ffmpeg
- Refer: packs/intel/latest
```
2024-04-20 00:38:28 +09:00
2. 在同一文件夹中运行`rvcmd`。
2024-05-12 20:21:10 +09:00
```bash
rvcmd -c cust
```
#### 示例 2. 下载 🤗 中的其他仓库
2024-04-20 00:38:28 +09:00
> 以 [Stable Diffusion v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5) 为例。
2024-05-12 20:21:10 +09:00
2024-04-20 00:38:28 +09:00
1. 编写并保存以下`cust.yaml`。
2024-05-12 20:21:10 +09:00
```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
```
#### 示例 3. 下载 GitHub 中的发布版本
2024-04-20 00:38:28 +09:00
> 以 [yousa-ling-diffsinger-v1.3](https://github.com/yousa-ling-official-production/yousa-ling-diffsinger-v1/releases/tag/v1.3) 为例。
2024-05-12 20:21:10 +09:00
2024-04-20 00:38:28 +09:00
1. 编写并保存以下`cust.yaml`。
2024-05-12 20:21:10 +09:00
```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
```
2024-04-20 00:38:28 +09:00
2. 在同一文件夹中运行`rvcmd`。
2024-05-12 20:21:10 +09:00
```bash
rvcmd -c cust
```
2024-04-20 00:38:28 +09:00
## 完整用法
2024-05-12 20:21:10 +09:00
2024-04-20 00:38:28 +09:00
```bash
Usage: rvcmd [-notrs] [-dns dns.yaml] 'target/to/download'
-c use custom yaml instruction
-dns string
custom dns.yaml
-f force download even file exists
-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
2024-04-20 00:38:28 +09:00
-w uint
connection waiting seconds (default 4)
'target/to/download'
like packs/general/latest
All available targets:
assets:
all hubert rmvpe uvr5 v1 v2
packs:
amd:
latest
v2:
20230813 20231006
general:
latest
v1:
20230331 20230416 20230428 20230508 20230513 20230516 20230717
v2:
20230528 20230618
intel:
latest
v2:
20230813 20231006
nvidia:
latest
v2:
20230813 20231006
tools:
ffmpeg
```
2024-04-20 18:14:56 +09:00
## 示例录屏
https://github.com/RVC-Project/RVC-Models-Downloader/assets/41315874/da2b5827-8b1a-45f8-a9c0-03a5618ad5f8