Comments (4)
Hi, the reason is the features used to train Mockingjay does not match the phone label (which is a label for every 10ms, you need to use features with windows of 25 ms and an overlap of 10 ms).
You can either:
-
use a different preprocessing script, that matches this phone label (
python preprocess/preprocess_libri.py --feature_type=fbank --delta=False # 80-dim
), I recommend this approach. -
or change to evaluate on the Montreal phone set (which matches the features that you are using).
The accuracy of Mockingjay should be in the range of 64%~67% (on test-clean), depending on the amount of unlabeled data used in pre-training (see TABLE I of our paper).
from s3prl.
Thank you for your answer! But I also have two problems.
-
First, I see the paper 'Montreal Force Aligner: trainable text-speech alignment using Kaldi', and find the paper use 25 ms window size and 10 ms frame shift which means 15 ms overlap. Could you tell me whether I should use an overlap of 10 ms of 15 ms.
-
Second, I modify the 'audio.py' and set 'frame_length_ms=25, frame_shift_ms = 10' to obtain mel160 features. Further, I set 'args.phone_set==montreal_phone'. When I use my pre-train model, I can not get the ideal result. When I use ‘frame_ shift_ms=15', the result is also below 10%.
Command :
`python run_upstream.py --run=transformer --config=config/config/mockingjay_libri_melBase.yaml --name=mockingjay_melBase
python run_downstream.py --run=phone_1hidden --upstream=transformer --ckpt=path_to_ckpt/states-500000.ckpt --phone_set=montreal_phone`
I have send my configurations and results to your mail. Would you like to give some suggestions to me ? Thank you very much !
from s3prl.
from s3prl.
Thank you for your answer! But I also have two problems.
- First, I see the paper 'Montreal Force Aligner: trainable text-speech alignment using Kaldi', and find the paper use 25 ms window size and 10 ms frame shift which means 15 ms overlap. Could you tell me whether I should use an overlap of 10 ms of 15 ms.
The alignment of Montreal Force Aligner only gives time intervals of phone (i.e. 1.4s~1.7s for example).
Hence you need to compute how these intervals map to every time frame.
This is done here in the preprocessing stage.
So, whether to use different window sizes and frameshift is of your choice,
but you need to re-run this script every time you change settings in utility/audio.py
.
- Second, I modify the 'audio.py' and set 'frame_length_ms=25, frame_shift_ms = 10' to obtain mel160 features. Further, I set 'args.phone_set==montreal_phone'. When I use my pre-train model, I can not get the ideal result. When I use ‘frame_ shift_ms=15', the result is also below 10%.
You also need to change this line in your downstream.yaml
to load Montreal phone labels:
# phone_path: 'data/cpc_phone'
phone_path: 'data/libri_phone'
These two problems are correlated, see here for more instructions.
I hope this helps!
Andy
from s3prl.
Related Issues (20)
- University Work: Mispronunciation Detection HOT 3
- i dont think the paper distilhubert is clear. HOT 4
- Asking for how to use pretrained weight of Hugging Face models in downstream tasks. HOT 7
- An error occurrs when adding new downstream tasks. HOT 7
- Feature request for Language Identification on ML-SUPERB dataset HOT 5
- Multiresolution HuBERT as a new upstream HOT 7
- No module named 's3prl.superb' HOT 1
- Is this required for the SS and SE task? assert abs(feat_list[i].size(0) - length_list[i]) < 5. I am getting this error for wav2vec HOT 6
- Different upstream and downstream learning rates HOT 1
- ValueError: mutable default <class 's3prl.upstream.roberta.roberta_model.EncDecBaseConfig'> for field encoder is not allowed: use default_factory HOT 3
- Not able to submit the results. HOT 4
- The rules for conformity for emotion recognition. HOT 5
- Potential SpecAug Issue HOT 1
- What is the accept rate in the VC task evaluation output? HOT 1
- a question about two-stage downstream task HOT 1
- ASVspoof Dateset Support HOT 2
- Requesting to add CLSRIL-23 pretrained model as new upstream HOT 6
- Cannot submit my results in the leaderboard HOT 4
- Document link broken HOT 1
- Broken link HOT 4
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 s3prl.