From f1fe1a803a347017f96a04dfc5aee737fa378a1c Mon Sep 17 00:00:00 2001 From: shahules786 Date: Mon, 21 Nov 2022 21:43:28 +0530 Subject: [PATCH] notebooks --- notebooks/Getting_started.ipynb | 48 ++++++++++----------------------- 1 file changed, 14 insertions(+), 34 deletions(-) diff --git a/notebooks/Getting_started.ipynb b/notebooks/Getting_started.ipynb index 37b8be3..ed47dae 100644 --- a/notebooks/Getting_started.ipynb +++ b/notebooks/Getting_started.ipynb @@ -30,17 +30,6 @@ "! pip install -q mayavoz " ] }, - { - "cell_type": "code", - "execution_count": 1, - "id": "e3b59ac5", - "metadata": {}, - "outputs": [], - "source": [ - "import os\n", - "os.chdir(\"/Users/shahules/Myprojects/enhancer\")" - ] - }, { "cell_type": "markdown", "id": "87ee497f", @@ -73,22 +62,13 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 3, "id": "67698871", "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/opt/anaconda3/envs/enhancer/lib/python3.8/site-packages/tqdm/auto.py:22: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n", - " from .autonotebook import tqdm as notebook_tqdm\n" - ] - } - ], + "outputs": [], "source": [ "\n", - "from mayavoz import Mayamodel\n", + "from mayavoz.models import Mayamodel\n", "model = Mayamodel.from_pretrained(\"shahules786/mayavoz-dccrn-valentini-28spk\")\n" ] }, @@ -102,7 +82,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 7, "id": "d7996c16", "metadata": {}, "outputs": [ @@ -112,7 +92,7 @@ "torch.Size([1, 1, 36414])" ] }, - "execution_count": 4, + "execution_count": 7, "metadata": {}, "output_type": "execute_result" } @@ -132,7 +112,7 @@ }, { "cell_type": "code", - "execution_count": 20, + "execution_count": 8, "id": "e1a1c718", "metadata": {}, "outputs": [ @@ -142,7 +122,7 @@ "(36414,)" ] }, - "execution_count": 20, + "execution_count": 8, "metadata": {}, "output_type": "execute_result" } @@ -156,7 +136,7 @@ }, { "cell_type": "code", - "execution_count": 21, + "execution_count": 9, "id": "0cbef6c0", "metadata": {}, "outputs": [ @@ -166,7 +146,7 @@ "(1, 1, 36414)" ] }, - "execution_count": 21, + "execution_count": 9, "metadata": {}, "output_type": "execute_result" } @@ -186,7 +166,7 @@ }, { "cell_type": "code", - "execution_count": 22, + "execution_count": 10, "id": "a884a935", "metadata": {}, "outputs": [ @@ -196,7 +176,7 @@ "torch.Size([1, 1, 36414])" ] }, - "execution_count": 22, + "execution_count": 10, "metadata": {}, "output_type": "execute_result" } @@ -217,7 +197,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 11, "id": "9e0313f7", "metadata": {}, "outputs": [], @@ -227,7 +207,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 12, "id": "25077720", "metadata": {}, "outputs": [ @@ -245,7 +225,7 @@ "" ] }, - "execution_count": 14, + "execution_count": 12, "metadata": {}, "output_type": "execute_result" }