Skip to content

Commit

Permalink
docs(notebook): launch tensorboard (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
34j committed Mar 19, 2023
1 parent 1b90378 commit 52229ba
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions notebooks/so-vits-svc-fork-4.0.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@
"!nvidia-smi"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"#@title Mount Google Drive\n",
"from google.colab import drive\n",
"drive.mount('/content/drive')"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand All @@ -46,17 +57,6 @@
" %pip install -U git+https://github.com/34j/so-vits-svc-fork.git@{BRANCH}"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"#@title Mount Google Drive\n",
"from google.colab import drive\n",
"drive.mount('/content/drive')"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -162,6 +162,8 @@
"outputs": [],
"source": [
"#@title Train\n",
"%load_ext tensorboard\n",
"%tensorboard --logdir drive/MyDrive/so-vits-svc-fork/logs/44k\n",
"!svc train --model-path drive/MyDrive/so-vits-svc-fork/logs/44k"
]
},
Expand Down Expand Up @@ -243,7 +245,6 @@
"metadata": {},
"outputs": [],
"source": [
"\n",
"!svc infer {NAME}.wav --speaker \"Pinkie {neutral}\" -c config.json -m G_166400.pth\n",
"display(Audio(f\"{NAME}.out.wav\", autoplay=True))"
]
Expand Down

0 comments on commit 52229ba

Please sign in to comment.