notebooks

This commit is contained in:
shahules786 2022-11-21 21:43:28 +05:30
parent 9927542713
commit f1fe1a803a
1 changed files with 14 additions and 34 deletions

View File

@ -30,17 +30,6 @@
"! pip install -q mayavoz " "! 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", "cell_type": "markdown",
"id": "87ee497f", "id": "87ee497f",
@ -73,22 +62,13 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 2, "execution_count": 3,
"id": "67698871", "id": "67698871",
"metadata": {}, "metadata": {},
"outputs": [ "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"
]
}
],
"source": [ "source": [
"\n", "\n",
"from mayavoz import Mayamodel\n", "from mayavoz.models import Mayamodel\n",
"model = Mayamodel.from_pretrained(\"shahules786/mayavoz-dccrn-valentini-28spk\")\n" "model = Mayamodel.from_pretrained(\"shahules786/mayavoz-dccrn-valentini-28spk\")\n"
] ]
}, },
@ -102,7 +82,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 4, "execution_count": 7,
"id": "d7996c16", "id": "d7996c16",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -112,7 +92,7 @@
"torch.Size([1, 1, 36414])" "torch.Size([1, 1, 36414])"
] ]
}, },
"execution_count": 4, "execution_count": 7,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -132,7 +112,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 20, "execution_count": 8,
"id": "e1a1c718", "id": "e1a1c718",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -142,7 +122,7 @@
"(36414,)" "(36414,)"
] ]
}, },
"execution_count": 20, "execution_count": 8,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -156,7 +136,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 21, "execution_count": 9,
"id": "0cbef6c0", "id": "0cbef6c0",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -166,7 +146,7 @@
"(1, 1, 36414)" "(1, 1, 36414)"
] ]
}, },
"execution_count": 21, "execution_count": 9,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -186,7 +166,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 22, "execution_count": 10,
"id": "a884a935", "id": "a884a935",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -196,7 +176,7 @@
"torch.Size([1, 1, 36414])" "torch.Size([1, 1, 36414])"
] ]
}, },
"execution_count": 22, "execution_count": 10,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -217,7 +197,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 8, "execution_count": 11,
"id": "9e0313f7", "id": "9e0313f7",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -227,7 +207,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 14, "execution_count": 12,
"id": "25077720", "id": "25077720",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -245,7 +225,7 @@
"<IPython.lib.display.Audio object>" "<IPython.lib.display.Audio object>"
] ]
}, },
"execution_count": 14, "execution_count": 12,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }