-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to make TIMIT_labels.npy file ? #12
Comments
Hi!
The TIMIT_labels.npy is a simple python dictionary that has sentence_id as
key and an integer as value. The integers (that range between 0 and
N_speakers-1) are the labels of our speaker-identification system and tell
us which is the speaker that is speaking in each utterance. The
construction of this dictionary depends on how the dataset is organized and
where the speaker-id information is stored. For TIMIT is very easy. If you
consider a certain file (e.g., TIMIT/train/dr3/fcmg0/sx72.wav, the folder
"fcmg0" is the speaker. You only have to associate "fcmg0" to a unique
integer (from 0 to N_speakers-1), which is different from that used for the
other speakers.
Mirco
…On Fri, 25 Jan 2019 at 03:46, eeric ***@***.***> wrote:
how to make TIMIT_labels.npy file ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#12>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQGs1tpM1zJmQMkm77ozhrYcuZTMRO7Gks5vGsRJgaJpZM4aScBz>
.
|
yeh, why did you use .npy fomat? |
Pickle is probably the best option, but it is possible to save/load a
dictionary also using Numpy. It has very simple save/loading function
(using np.save, np.load).
But yes, you can use any format here. What is really important is to end up
with a dictionary with the information reported above.
…On Fri, 25 Jan 2019 at 20:07, eeric ***@***.***> wrote:
yeh, why did you use .npy fomat?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQGs1nlB8jvOsVJNYAh0aGZi5DabrlEfks5vG6o4gaJpZM4aScBz>
.
|
ok, thank you ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
how to make TIMIT_labels.npy file ?
The text was updated successfully, but these errors were encountered: