From 42de0eb9c06f65ef40c7970876ce322e6f9a72b0 Mon Sep 17 00:00:00 2001 From: AbhinayPoloju <84982230+AbhinayPoloju@users.noreply.github.com> Date: Fri, 10 May 2024 20:52:25 +0530 Subject: [PATCH] Update fine-tuning.mdx Updated speechbrain.pretrained to speechbrain.inference as pretrained package is no longer avaliable. --- chapters/en/chapter6/fine-tuning.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapters/en/chapter6/fine-tuning.mdx b/chapters/en/chapter6/fine-tuning.mdx index 8fd8b48b..91fe497f 100644 --- a/chapters/en/chapter6/fine-tuning.mdx +++ b/chapters/en/chapter6/fine-tuning.mdx @@ -263,7 +263,7 @@ containing the corresponding speaker embedding. ```py import os import torch -from speechbrain.pretrained import EncoderClassifier +from speechbrain.inference import EncoderClassifier spk_model_name = "speechbrain/spkrec-xvect-voxceleb"