Skip to content
This repository was archived by the owner on Dec 28, 2025. It is now read-only.

Commit c9b3142

Browse files
committed
fixed rmvpe dir
1 parent 29ac68c commit c9b3142

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

DiffSinger_colab_notebook.ipynb

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"metadata": {
55
"colab": {
66
"provenance": [],
7-
"gpuType": "T4",
7+
"gpuType": "A100",
88
"collapsed_sections": [
99
"MP5rRkbTpnG8",
1010
"Wv0gfI5feBSc",
@@ -13,6 +13,7 @@
1313
"FY40fGHEg9_i",
1414
"4sbU1aH5kGFE"
1515
],
16+
"machine_shape": "hm",
1617
"include_colab_link": true
1718
},
1819
"kernelspec": {
@@ -132,7 +133,7 @@
132133
"cellView": "form",
133134
"id": "9nZnrUAVHPZQ"
134135
},
135-
"execution_count": null,
136+
"execution_count": 1,
136137
"outputs": []
137138
},
138139
{
@@ -175,7 +176,7 @@
175176
"!aria2c https://github.com/openvpi/DiffSinger/releases/download/v2.1.0/rmvpe.zip\n",
176177
"!unzip -q /content/nsf_hifigan_20221211.zip -d /content/DiffSinger/checkpoints\n",
177178
"!unzip -q /content/rmvpe.zip -d /content/DiffSinger/checkpoints\n",
178-
"!unzip -q /content/rmvpe.zip -d /content/MakeDiffSinger/variance-temp-solution/assets/rmvpe\n",
179+
"!unzip -q /content/rmvpe.zip -d /content/MakeDiffSinger/variance-temp-solution/assets\n",
179180
"!rm /content/nsf_hifigan_20221211.zip\n",
180181
"!rm /content/rmvpe.zip\n",
181182
"clear_output()\n",
@@ -336,18 +337,18 @@
336337
" clear_output()\n",
337338
" else:\n",
338339
" !python /content/MakeDiffSinger/variance-temp-solution/add_ph_num.py /content/raw_data/diffsinger_db/transcriptions.csv --vowels /content/DiffSinger/dictionaries/vowels.txt --consonants /content/DiffSinger/dictionaries/consonants.txt\n",
339-
" #clear_output()\n",
340+
" clear_output()\n",
340341
" !python /content/MakeDiffSinger/variance-temp-solution/estimate_midi.py /content/raw_data/diffsinger_db/transcriptions.csv /content/raw_data/diffsinger_db/wavs --pe {f0_ext}\n",
341-
" #clear_output()\n",
342+
" clear_output()\n",
342343
" !python /content/MakeDiffSinger/variance-temp-solution/convert_ds.py csv2ds /content/raw_data/diffsinger_db/transcriptions.csv /content/raw_data/diffsinger_db/wavs\n",
343-
" #clear_output()\n",
344+
" clear_output()\n",
344345
" !python /content/MakeDiffSinger/variance-temp-solution/correct_cents.py ds /content/raw_data/diffsinger_db/wavs\n",
345-
" #clear_output()\n",
346+
" clear_output()\n",
346347
" !rm /content/raw_data/diffsinger_db/transcriptions.csv\n",
347348
" !rm /content/raw_data/diffsinger_db/curves.json\n",
348-
" #clear_output()\n",
349+
" clear_output()\n",
349350
" !python /content/MakeDiffSinger/variance-temp-solution/convert_ds.py ds2csv /content/raw_data/diffsinger_db/wavs /content/raw_data/diffsinger_db/transcriptions.csv\n",
350-
" #clear_output()\n",
351+
" clear_output()\n",
351352
"else:\n",
352353
" pass\n",
353354
"print(\"extraction complete!\")\n",
@@ -580,7 +581,7 @@
580581
"\n",
581582
"#@markdown <font size=\"-1.5\"> if you are continuing from latest checkpoint, this would be the directory of a folder that you saved your model, it should have [lightning_logs] folder in it\n",
582583
"\n",
583-
"logs = \"\" #@param{type:\"string\"}\n",
584+
"logs = \"/content/drive/MyDrive/diffsinger_test/nehito_30_mins\" #@param{type:\"string\"}\n",
584585
"%reload_ext tensorboard\n",
585586
"%tensorboard --logdir {logs}/lightning_logs"
586587
],
@@ -597,19 +598,19 @@
597598
"#@markdown #Train your model\n",
598599
"%cd /content/DiffSinger\n",
599600
"#@markdown Enter the name of your singer.\n",
600-
"name = \"\" #@param{type:'string'}\n",
601+
"name = \"Nehito_30mins\" #@param{type:'string'}\n",
601602
"\n",
602603
"#@markdown ___\n",
603604
"\n",
604605
"#@markdown ###**Only use this lower section if you want to resume training**\n",
605-
"resume_training = False #@param {type:\"boolean\"}\n",
606+
"resume_training = True #@param {type:\"boolean\"}\n",
606607
"\n",
607608
"#@markdown <font size=\"-1.5\"> path to the config you got from training\n",
608-
"re_config_path = \"\" #@param {type:\"string\"}\n",
609+
"re_config_path = \"/content/drive/MyDrive/diffsinger_test/nehito_30_mins/config.yaml\" #@param {type:\"string\"}\n",
609610
"\n",
610611
"#@markdown <font size=\"-1.5\"> path to the resume model's **FOLDER** (should mostlikely be the path you put above minus [ /config.yaml ])\n",
611612
"\n",
612-
"model_dir = \"\" #@param {type:\"string\"}\n",
613+
"model_dir = \"/content/drive/MyDrive/diffsinger_test/nehito_30_mins\" #@param {type:\"string\"}\n",
613614
"\n",
614615
"if resume_training:\n",
615616
" config_path = re_config_path\n",

0 commit comments

Comments
 (0)