Comments (7)
I've written a preprocessing script for this: 27ff0d5
For any arbitrary dataset that looks like this:
- Custom_dataset/
- Custom_train/
- *.wav / flac / mp3 ...
- Custom_dev/
- *.wav / flac / mp3 ...
- Custom_test/
- *.wav / flac / mp3 ...
The script will process the "train", "dev", "test" set one by one,
and users only need to specify the path of the directory of each set.
So for the example above,
the path to the "train" set should be: Custom_dataset/Custom_train/
the path to the "dev" set should be: Custom_dataset/Custom_dev/
the path to the "test" set should be: Custom_dataset/Custom_test/
The generated files will be compatible to our dataloader.
Also, in your config file, these should be changed:
data_path: 'data/NewData_fbank80'
train_set: ['train']
dev_set: ['dev']
test_set: ['test']
If it is convenient, can you please test this script on your own dataset to see if it works.
(I currently don't have any other dataset to process)
Let me know if there is any problem.
from s3prl.
Thank You very much for your help.I will look into it and get back.
Kindly have a look @Dhumketu
from s3prl.
Hello, thank you very much for sharing such an excellent project. As a newcomer in this field, I would like to ask whether this project can be used to generate speaker embedding for my future work. If so, could you please introduce the general process? Looking forward to your reply.
from s3prl.
I would like to ask whether this project can be used to generate speaker embedding for my future work. If so, could you please introduce the general process?
Yes, of course. The general process is as follow:
- Pre-train an upstream model in a self-supervised manner: Mockingjay, TERA, Audio ALBERT, APC, CPC, etc.
- Extract representations from the pre-trained upstream model, these representations are the speaker embedding you are looking for.
- Apply the extracted representations to your downstream task.
However, whether the learned representations are good speaker embedding largely depends on your downstream task, we've only verified them with speaker classification tasks using the LibriSpeech corpus. Various speaker classification experiment results are presented in the Mockingjay, TERA paper.
from s3prl.
Thank you very much for your reply. I will study the process
from s3prl.
I've written a preprocessing script for this: 27ff0d5
For any arbitrary dataset that looks like this:
- Custom_dataset/ - Custom_train/ - *.wav / flac / mp3 ... - Custom_dev/ - *.wav / flac / mp3 ... - Custom_test/ - *.wav / flac / mp3 ...
The script will process the "train", "dev", "test" set one by one,
and users only need to specify the path of the directory of each set.
So for the example above,
the path to the "train" set should be: Custom_dataset/Custom_train/
the path to the "dev" set should be: Custom_dataset/Custom_dev/
the path to the "test" set should be: Custom_dataset/Custom_test/
The generated files will be compatible to our dataloader.Also, in your config file, these should be changed:
data_path: 'data/NewData_fbank80' train_set: ['train'] dev_set: ['dev'] test_set: ['test']If it is convenient, can you please test this script on your own dataset to see if it works.
(I currently don't have any other dataset to process)
Let me know if there is any problem.
Is this working for pretrained TERA too?
Or is it just suitable for training our own original model from scratch without using the pretrained TERA?
from s3prl.
Is this working for pretrained TERA too?
Or is it just suitable for training our own original model from scratch without using the pretrained TERA?
No, this will not work for the pre-trained TERA. As pre-trained TERA requires fmllr data, which can be download from the provided Google drive link. (Pre-trained TERA needs the original fmllr data, not new extracted ones.)
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.