Spaces:
Runtime error
Runtime error
Konstantin Verner
commited on
Commit
•
54c283e
1
Parent(s):
6390824
Update README.md
Browse files
README.md
CHANGED
@@ -28,4 +28,42 @@ python scripts/cloning_inference.py --model_path "/content/deep-voice-cloning/mo
|
|
28 |
--output_path "scripts/output/do_the_things.wav"
|
29 |
```
|
30 |
|
31 |
-
Resulting audio file will be saved as `output_path` file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
--output_path "scripts/output/do_the_things.wav"
|
29 |
```
|
30 |
|
31 |
+
Resulting audio file will be saved as `output_path` file.
|
32 |
+
|
33 |
+
# Docker
|
34 |
+
|
35 |
+
To build docker image:
|
36 |
+
|
37 |
+
```
|
38 |
+
docker build -t deep-voice-cloning .
|
39 |
+
```
|
40 |
+
|
41 |
+
To pull docker image from Hub:
|
42 |
+
|
43 |
+
```angular2html
|
44 |
+
docker pull konverner/deep-voice-cloning:latest
|
45 |
+
```
|
46 |
+
|
47 |
+
To run image in a container:
|
48 |
+
|
49 |
+
```
|
50 |
+
docker run -it --entrypoint=/bin/bash konverner/deep-voice-cloning
|
51 |
+
```
|
52 |
+
|
53 |
+
To run training in a container for example:
|
54 |
+
|
55 |
+
```
|
56 |
+
python scripts/train.py --audio_path scripts/input/hank.mp3 --output_dir models
|
57 |
+
```
|
58 |
+
|
59 |
+
To run inference in a container for example:
|
60 |
+
|
61 |
+
```
|
62 |
+
python scripts/cloning_inference.py --model_path models/microsoft_speecht5_tts_hank --input_text "do the things, not because they are easy, but because they are hard" --output_path scripts/output/do_the_things.wav
|
63 |
+
```
|
64 |
+
|
65 |
+
|
66 |
+
# Notebook Examples
|
67 |
+
|
68 |
+
Example of using CLI for training and inference can be found in [notebook](https://github.com/konverner/deep-voice-cloning/blob/main/notebooks/CLI_Example.ipynb)
|
69 |
+
|