Comments (4)
Hi, thanks for your amazing open source project! How can I use different sample rate (e.g. 44.1kHz), espectially for the online config? It seems that the current version is less flexible for the On-the-fly settings. In addition, is there any data normalization in the preprocessing stage?
Thanks a lot.
Sometimes, the audio within a dataset is not sampled at the same rate, so that I need to resample the audio, which is not fit for the On-the-fly currently.
from s3prl.
Hi, we are glad to help!
May I first ask if you are pretraining LibriSpeech? Since currently the online preprocessor on master only supports LibriSpeech, and that is why we fix sample_rate to 16000 Hz (all flac in LibriSpeech are in 16000 Hz).
If you wish to pretrain with other datasets, you might consider checking out to extension
branch, which now support much more features for online extraction, including resampling and data normalization (eg. normalization in decibel or across time dimension aka cmvn) or even adding noise on input waveform (to pretrain a denoising Speech BERT).
Please let me know your situation and I can provide more details to help. eg. how to use extension
branch (since it is still under quick development.)
from s3prl.
from s3prl.
Hi! Thanks for your reply. I am currently carrying out experiments on AudioSet, where the audio recordings are sampled not in 16000 Hz. How can I use the resampling for online extraction? Best Regardes, Helin Wang
Hi @wanghl15,
In config/online.yaml
, simply change sample_rate: 16000
to the sr of AudioSet.
@leo19941227 please verify if this is correct.
from s3prl.
Related Issues (20)
- 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
- How to extract weighted sum SSL representations from an audio dataset?
- 使用自己的数据进行预训练
- run vq_apc pretrain failed HOT 3
- QbE downstream HOT 3
- Performance difference between converted models and official models HOT 1
- A way to save and load the output of upstream model for speedup HOT 1
- Adding MS-HuBERT: Mitigating Pre-training and Inference Mismatch in Masked Language Modelling methods for learning Speech Representations (https://arxiv.org/pdf/2406.05661) HOT 1
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.