From df4a40f34e53337c4acadd0ceaa57b844625fd53 Mon Sep 17 00:00:00 2001 From: 1t3x Date: Sat, 28 Dec 2024 21:41:35 +0100 Subject: [PATCH] Fixed version incompatibility with pip packages in piper_inference_(ckpt).ipynb --- notebooks/piper_inference_(ckpt).ipynb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/notebooks/piper_inference_(ckpt).ipynb b/notebooks/piper_inference_(ckpt).ipynb index 24bbad73..6e4897ec 100644 --- a/notebooks/piper_inference_(ckpt).ipynb +++ b/notebooks/piper_inference_(ckpt).ipynb @@ -89,11 +89,9 @@ "!git clone -q https://github.com/rmcpantoja/piper\n", "%cd /content/piper/src/python\n", "#!pip install -q -r requirements.txt\n", - "!pip install -q cython>=0.29.0 piper-phonemize==1.1.0 librosa>=0.9.2 numpy>=1.19.0 onnxruntime>=1.11.0 pytorch-lightning==1.7.0 torch==1.11.0\n", - "!pip install -q torchtext==0.12.0 torchvision==0.12.0\n", - "#!pip install -q torchtext==0.14.1 torchvision==0.14.1\n", - "# fixing recent compativility isswes:\n", - "!pip install -q torchaudio==0.11.0 torchmetrics==0.11.4\n", + "!pip install -q cython>=0.29.0 piper-phonemize==1.1.0 librosa>=0.9.2 numpy>=1.19.0 onnxruntime>=1.11.0 pytorch-lightning==1.9.0 torch==2.0.1\n", + "!pip install -q torchtext==0.15.2 torchvision==0.15.2 pydub\n", + "!pip install -q torchaudio==2.0.2 torchmetrics==0.11.4\n", "!bash build_monotonic_align.sh\n", "import os\n", "if not os.path.exists(\"/content/piper/src/python/lng\"):\n", @@ -562,4 +560,4 @@ } } ] -} \ No newline at end of file +}