{"cells":[{"cell_type":"markdown","metadata":{"id":"65CU-n-JHhbY"},"source":["# Clone repository"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":1000},"executionInfo":{"elapsed":198272,"status":"ok","timestamp":1659461977037,"user":{"displayName":"章政","userId":"17693849672782836082"},"user_tz":-480},"id":"i_0vZ-OjHVNu","outputId":"52655c4e-699c-465a-ce12-9cef24aa8a1e"},"outputs":[],"source":["!git clone https://github.com/CjangCjengh/vits.git\n","%cd vits\n","!pip install -r requirements.txt\n"]},{"cell_type":"markdown","metadata":{"id":"G0iLn2JxKYhl"},"source":["# Mount Google Drive"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"executionInfo":{"elapsed":2801,"status":"ok","timestamp":1659464479547,"user":{"displayName":"章政","userId":"17693849672782836082"},"user_tz":-480},"id":"ZOgjdsQgKTfD","outputId":"ba0ce34b-45f6-43ea-af98-98e6007a5351"},"outputs":[],"source":["from google.colab import drive\n","drive.mount('/content/drive')"]},{"cell_type":"markdown","metadata":{"id":"UZ9maSoUmHaS"},"source":["# Unpack dataset"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"executionInfo":{"elapsed":191445,"status":"ok","timestamp":1659462201164,"user":{"displayName":"章政","userId":"17693849672782836082"},"user_tz":-480},"id":"N3a-FsHghwXS","outputId":"979fe3a3-49ba-4f0d-cc71-fc68b8ec0db7"},"outputs":[],"source":["!sudo apt-get install p7zip-full\n","!7z x ../drive/MyDrive/dataset.zip"]},{"cell_type":"markdown","metadata":{"id":"LY9d2hgjmYUF"},"source":["# Alignment"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"executionInfo":{"elapsed":4802,"status":"ok","timestamp":1659462298052,"user":{"displayName":"章政","userId":"17693849672782836082"},"user_tz":-480},"id":"LOsV22D8IUTS","outputId":"8b9b7c35-e869-4af5-a8eb-9e6eee11fa7c"},"outputs":[],"source":["%cd monotonic_align\n","!python setup.py build_ext --inplace\n","%cd .."]},{"cell_type":"markdown","metadata":{"id":"gjIAR_UsmPEz"},"source":["# Train"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"executionInfo":{"elapsed":245907,"status":"ok","timestamp":1659464394347,"user":{"displayName":"章政","userId":"17693849672782836082"},"user_tz":-480},"id":"ltU2JXpxIh-K","outputId":"13573700-ca5d-4bd1-ebbc-966c059e1327"},"outputs":[],"source":["!python train_ms.py -c configs/yuzusoft_base.json -m yuzusoft_base"]}],"metadata":{"accelerator":"GPU","colab":{"authorship_tag":"ABX9TyMUFamkuoxXK2DqqYNB4cPL","collapsed_sections":[],"mount_file_id":"1twKgqwggarlmTzNEjCsuldastf_zMIkF","name":"vits.ipynb","provenance":[]},"gpuClass":"standard","kernelspec":{"display_name":"Python 3","name":"python3"},"language_info":{"name":"python"}},"nbformat":4,"nbformat_minor":0}
