|
4 | 4 | "metadata": { |
5 | 5 | "colab": { |
6 | 6 | "provenance": [], |
7 | | - "gpuType": "T4", |
| 7 | + "gpuType": "A100", |
8 | 8 | "collapsed_sections": [ |
9 | 9 | "MP5rRkbTpnG8", |
10 | 10 | "Wv0gfI5feBSc", |
|
13 | 13 | "FY40fGHEg9_i", |
14 | 14 | "4sbU1aH5kGFE" |
15 | 15 | ], |
| 16 | + "machine_shape": "hm", |
16 | 17 | "include_colab_link": true |
17 | 18 | }, |
18 | 19 | "kernelspec": { |
|
132 | 133 | "cellView": "form", |
133 | 134 | "id": "9nZnrUAVHPZQ" |
134 | 135 | }, |
135 | | - "execution_count": null, |
| 136 | + "execution_count": 1, |
136 | 137 | "outputs": [] |
137 | 138 | }, |
138 | 139 | { |
|
175 | 176 | "!aria2c https://github.com/openvpi/DiffSinger/releases/download/v2.1.0/rmvpe.zip\n", |
176 | 177 | "!unzip -q /content/nsf_hifigan_20221211.zip -d /content/DiffSinger/checkpoints\n", |
177 | 178 | "!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", |
179 | 180 | "!rm /content/nsf_hifigan_20221211.zip\n", |
180 | 181 | "!rm /content/rmvpe.zip\n", |
181 | 182 | "clear_output()\n", |
|
336 | 337 | " clear_output()\n", |
337 | 338 | " else:\n", |
338 | 339 | " !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", |
340 | 341 | " !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", |
342 | 343 | " !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", |
344 | 345 | " !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", |
346 | 347 | " !rm /content/raw_data/diffsinger_db/transcriptions.csv\n", |
347 | 348 | " !rm /content/raw_data/diffsinger_db/curves.json\n", |
348 | | - " #clear_output()\n", |
| 349 | + " clear_output()\n", |
349 | 350 | " !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", |
351 | 352 | "else:\n", |
352 | 353 | " pass\n", |
353 | 354 | "print(\"extraction complete!\")\n", |
|
580 | 581 | "\n", |
581 | 582 | "#@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", |
582 | 583 | "\n", |
583 | | - "logs = \"\" #@param{type:\"string\"}\n", |
| 584 | + "logs = \"/content/drive/MyDrive/diffsinger_test/nehito_30_mins\" #@param{type:\"string\"}\n", |
584 | 585 | "%reload_ext tensorboard\n", |
585 | 586 | "%tensorboard --logdir {logs}/lightning_logs" |
586 | 587 | ], |
|
597 | 598 | "#@markdown #Train your model\n", |
598 | 599 | "%cd /content/DiffSinger\n", |
599 | 600 | "#@markdown Enter the name of your singer.\n", |
600 | | - "name = \"\" #@param{type:'string'}\n", |
| 601 | + "name = \"Nehito_30mins\" #@param{type:'string'}\n", |
601 | 602 | "\n", |
602 | 603 | "#@markdown ___\n", |
603 | 604 | "\n", |
604 | 605 | "#@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", |
606 | 607 | "\n", |
607 | 608 | "#@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", |
609 | 610 | "\n", |
610 | 611 | "#@markdown <font size=\"-1.5\"> path to the resume model's **FOLDER** (should mostlikely be the path you put above minus [ /config.yaml ])\n", |
611 | 612 | "\n", |
612 | | - "model_dir = \"\" #@param {type:\"string\"}\n", |
| 613 | + "model_dir = \"/content/drive/MyDrive/diffsinger_test/nehito_30_mins\" #@param {type:\"string\"}\n", |
613 | 614 | "\n", |
614 | 615 | "if resume_training:\n", |
615 | 616 | " config_path = re_config_path\n", |
|
0 commit comments