khanld / ASR-Wav2vec-Finetune

:zap: Finetune Wa2vec 2.0 For Speech Recognition
111 stars 23 forks source link

pretrained_path is not defined when training from scratch (python train.py -c config.toml) #9

Closed ghosthunterk closed 1 year ago

ghosthunterk commented 1 year ago

After I added the pretrained_path manually in trainer.py it seems to work fine, is this a bug or am I doing something wrong?

khanld commented 1 year ago

By default i use the pretrained wav2vec2-base to init the model architecture and its pretrained weights. The pretrained_path is needed