Skip to content

test and val dataset included in train in speech_command_classification_with_torchaudio_tutorial.py #1830

@algat

Description

@algat

In speech_command_classification_with_torchaudio_tutorial.py, the test and validation datasets are included in the training dataset.

When doing:

train_set = SubsetSC("training")
test_set = SubsetSC("testing")

And checking for intersection of speakers:

train_speaker_ids = set([ s[3] for s in train_set])
test_speaker_ids = set([ s[3] for s in test_set])
intersection_of_speakers = train_speaker_ids & test_speaker_ids
print(len(train_speaker_ids))
print(len(test_speaker_ids))
print(len(intersection))

It gives

2618
250
250

Hence the 250 speakers in test are in the training dataset. Same for thing for validation set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions