Comments (5)
Hi,
for 1) in order for me to help, please provide the arguments you used when you encounter this error.
for 2) What do you mean by speaker information? do you mean the ground truth speaker label? If so, it is provided in the LibriSpeech dataset (the name of each utterance file contains the speaker ID). And No I haven't explored other languages.
Thanks
from s3prl.
@andi611 sorry for late reply. I found the error above is caused by the online feature extracting. And after using the script to extract features, I met another error while training. Here is my command and the log.
python run_downstream_babel.py --run=speaker_utterance --upstream=transformer --ckpt=/data3/zgl/mock_babel_ckpt/states-500000.ckpt
File "/Self-Supervised-Speech-Pretraining-and-Representation-Learning/transformer/model.py", line 119, in forward
input_representations = spec_transformed + pos_enc
RuntimeError: The size of tensor a (10909) must match the size of tensor b (5000) at non-singleton dimension 1
I think it's maybe caused by my own dataset. But all of them were extracted feature by the same script. What reasons may cause this error?
from s3prl.
run_downstream_babel.py
File "/Self-Supervised-Speech-Pretraining-and-Representation-Learning/transformer/model.py", line 119, in forward input_representations = spec_transformed + pos_enc RuntimeError: The size of tensor a (10909) must match the size of tensor b (5000) at non-singleton dimension 1
It seems like you've modified our original code, including run_downstream.py
and data_loader.py
.
Hence I can only guess that 10909
and 5000
are the sequence length of spec_transformer
and pos_enc
(please verify this). If so, then you have to change this line here.
from s3prl.
@andi611 thanks, I have just change the dataloader for librispeech to another dataset. And the whole dataset maybe just one sample is too long for test split, maybe just the test split will not drop the too long sample which is showed in the dataloader.py.
from s3prl.
Yes, the test split will not drop too long sequences.
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 6
- 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.