fantasyfish commited on
Commit
e3d4bb5
·
2 Parent(s): 239a35e de479a3

Merge branch 'main' of https://huggingface.co/spaces/fantasyfish/dotdemo into main

Browse files
Files changed (1) hide show
  1. README.md +5 -5
README.md CHANGED
@@ -6,7 +6,7 @@ colorTo: pink
6
  sdk: static
7
  pinned: false
8
  ---
9
- This repo contains two servers. Before setting up the servers, please follow these steps first
10
  1. ``` bash
11
  git lfs install # Follow this thread https://askubuntu.com/questions/799341/how-to-install-git-lfs-on-ubuntu-16-04
12
  git clone https://huggingface.co/spaces/fantasyfish/dotdemo
@@ -20,7 +20,7 @@ This repo contains two servers. Before setting up the servers, please follow the
20
 
21
 
22
  # Training server
23
- 1. Start the server with the command below where the training data folder is put under **examples**
24
  ```bash
25
  sudo docker run --gpus all --runtime=nvidia --rm \
26
  -v /home/ubuntu/dotdemo/third_party:/third_party \
@@ -30,7 +30,7 @@ This repo contains two servers. Before setting up the servers, please follow the
30
  -p 8080:8080 \
31
  -it fantasyfish677/rvc:v0
32
  ```
33
- 2. Two test commands:
34
  ```bash
35
  curl -X GET http://localhost:8080/train \
36
  -H 'Content-Type: application/json' \
@@ -43,7 +43,7 @@ This repo contains two servers. Before setting up the servers, please follow the
43
  ```
44
 
45
  # Inference server
46
- 1. Start the server with the command below where the training data folder is put under **examples** and the output wav file is saved under **results**
47
  ```bash
48
  sudo docker run --gpus all --runtime=nvidia --rm \
49
  -v /home/ubuntu/dotdemo/third_party:/third_party \
@@ -54,7 +54,7 @@ This repo contains two servers. Before setting up the servers, please follow the
54
  -p 8081:8081 \
55
  -it fantasyfish677/rvc:v0
56
  ```
57
- 2. Test command:
58
  ```bash
59
  curl -X GET http://localhost:8081/inference \
60
  -H 'Content-Type: application/json' \
 
6
  sdk: static
7
  pinned: false
8
  ---
9
+ **You can skip this step now**, as it's only used to download the codebase and the docker image
10
  1. ``` bash
11
  git lfs install # Follow this thread https://askubuntu.com/questions/799341/how-to-install-git-lfs-on-ubuntu-16-04
12
  git clone https://huggingface.co/spaces/fantasyfish/dotdemo
 
20
 
21
 
22
  # Training server
23
+ 1. Start the server with the command below where the **input bucket** is mapped to **_/inputDir_**. This bucket should include several folders, where each folder contains the audio files from each user.
24
  ```bash
25
  sudo docker run --gpus all --runtime=nvidia --rm \
26
  -v /home/ubuntu/dotdemo/third_party:/third_party \
 
30
  -p 8080:8080 \
31
  -it fantasyfish677/rvc:v0
32
  ```
33
+ 2. Two test commands. The first is to trigger the training process and the second is to check whether training has finished
34
  ```bash
35
  curl -X GET http://localhost:8080/train \
36
  -H 'Content-Type: application/json' \
 
43
  ```
44
 
45
  # Inference server
46
+ 1. Start the server with the command below where the **input bucket** is mapped to **_/inputDir_** and the **output bucket** is mapped to **_/outputDir_**.
47
  ```bash
48
  sudo docker run --gpus all --runtime=nvidia --rm \
49
  -v /home/ubuntu/dotdemo/third_party:/third_party \
 
54
  -p 8081:8081 \
55
  -it fantasyfish677/rvc:v0
56
  ```
57
+ 2. Test command. If transfer a male vocal into female, recommend set **_pitchShift_** to 10. If transfer a female vocal into male, recommend set **_pitchShift_** to -10. Otherwise, keep it as 0.
58
  ```bash
59
  curl -X GET http://localhost:8081/inference \
60
  -H 'Content-Type: application/json' \