0

I am facing an issue, where firebase storage url cannot be loaded by python torchaudio in WSA (Windows subsystem for Linux). The Error which is shown. Here I am using speechbrain library which uses Torchaudio to compare two audio files and to determine the voice belongs to same person

The same firebase URL works fine and shows no error in google colab. Also URL links other than firebase URL works fine and shows no error in WSA.

file_1 = "https://firebaseDummyURL_1"
file_2 = "https://firebaseDummyURL_2"

verification = SpeakerRecognition.from_hparams(source="speechbrain/spkrec-ecapa-voxceleb", savedir="pretrained_models/spkrec-ecapa-voxceleb")
score, prediction = verification.verify_files(file_1, file_2)
print(score, prediction)

0 Answers0