Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(notebook): fix cluster inference command and improve cluster training command #93

Merged
merged 3 commits into from
Mar 24, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions notebooks/so-vits-svc-fork-4.0.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
"metadata": {},
"outputs": [],
"source": [
"!svc train-cluster --output-path drive/MyDrive/so-vits-svc-fork/logs/44k"
"!svc train-cluster --output-path drive/MyDrive/so-vits-svc-fork/logs/44k/kmeans.pt"
chitsanfei marked this conversation as resolved.
Show resolved Hide resolved
]
},
{
Expand Down Expand Up @@ -226,7 +226,8 @@
"outputs": [],
"source": [
"##@title Use trained model (with cluster)\n",
"!svc infer-cluster {NAME}.wav -r 0.1 -m drive/MyDrive/so-vits-svc-fork/logs/44k/ -c drive/MyDrive/so-vits-svc-fork/logs/44k/config.json -k drive/MyDrive/so-vits-svc-fork/logs/44k/kmeans.pt\n",
"#@markdown You may need to specify the value of the -s parameter, default is speaker.\n",
chitsanfei marked this conversation as resolved.
Show resolved Hide resolved
"!svc infer -cluster {NAME}.wav -s speaker -r 0.1 -m drive/MyDrive/so-vits-svc-fork/logs/44k/ -c drive/MyDrive/so-vits-svc-fork/logs/44k/config.json -k drive/MyDrive/so-vits-svc-fork/logs/44k/kmeans.pt\n",
chitsanfei marked this conversation as resolved.
Show resolved Hide resolved
"display(Audio(f\"{NAME}.out.wav\", autoplay=True))"
]
},
Expand Down