Comments (4)
maybe the version problem, the usage can refer to :
from speechbrain.inference.interfaces import foreign_class
asr_model = foreign_class(source="speechbrain/asr-wav2vec2-ctc-aishell", pymodule_file="custom_interface.py", classname="CustomEncoderDecoderASR")
asr_model.transcribe_file("speechbrain/asr-wav2vec2-ctc-aishell/example.wav")
in version 1.0.0
here does not exist "pretained" package
from speechbrain.
This is expected due to the move to SpeechBrain 1.0 which introduced a breaking change on the inference API. See the update notes: https://colab.research.google.com/drive/1IEPfKRuvJRSjoxu22GZhb3czfVHsAy0s?usp=sharing
This should be a relatively straightforward change to update to the new API. Alternatively, if you must, you can pin your SB dependency to 0.5.16 in your environment, which should be the last version to have the pretrained
module.
from speechbrain.
Related Issues (20)
- Wav2Vec2Pretrain (HFTransformersInterface implementation) samples padded values for mask_time_indices and negative_sample_indices HOT 2
- spkrec-ecapa-voxceleb-mel-spec model modifies mel spectrum in place when used with CPU HOT 2
- A few unoptimised piece of code (augmentation and masking) HOT 2
- Language codes not following ISO standards in lang-id-voxlingua107-ecapa HOT 2
- Train loop may crash during checkpointing HOT 5
- Possible NCCL-level deadlock during checkpointing HOT 7
- Error during encoding
- AMP at inference time HOT 3
- Unable to use model trained from enhancement template HOT 1
- 🐞 | Import error in speechbrain.pretrained HOT 3
- Not Able to use 'speechbrain/spkrec-ecapa-voxceleb' embeddings in Google Colab. HOT 3
- 'S2STransformerBeamSearcher' object has no attribute 'ctc_forward_step' HOT 2
- Inference interface uncompatible with Python < 3.9 HOT 1
- Issues regarding discrete WavLM and discrete HuBERT HOT 4
- speechbrain inference classifier error HOT 1
- Program memory segmentation error (core dumped) for training LibriMix
- LibriSpeech Whisper Finetuning - WER 98% after 3 epochs HOT 9
- [Feature Request]: AdaMER-CTC for ASR task training
- Cannot reproduce DPRNN results on WSJ0-2Mix (Speech Separation) HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from speechbrain.