Skip to content

Speech commands loading broken #383

Description

@neworderofjamie

When using norse.datasets.speech_commands.prepare_dataset, the file lists generated at https://github.com/norse/norse/blob/main/norse/dataset/speech_commands.py#L57 and https://github.com/norse/norse/blob/main/norse/dataset/speech_commands.py#L63 start with ./ e.g. ./SpeechCommands/speech_commands_v0.02/six/c2d15ea5_nohash_0.wav but those produced by the walkers at https://github.com/norse/norse/blob/main/norse/dataset/speech_commands.py#L68, https://github.com/norse/norse/blob/main/norse/dataset/speech_commands.py#L74 and https://github.com/norse/norse/blob/main/norse/dataset/speech_commands.py#L77 do not so everything ends up in training set. Afraid I don't know enough about torchaudio to know the root cause of this, otherwise I'd make a PR.

Finally, pretty sure it should be test_filelist and test_sc._walker at https://github.com/norse/norse/blob/main/norse/dataset/speech_commands.py#L77

System:
Ubuntu 18.04
Python 3.8
TorchAudio 2.1.2+cu121
Torch 2.1.2+cu121

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions