Add metadata function for LibriSpeech (#2653)
Summary: Adding support for metadata mode, requested in https://github.com/pytorch/audio/issues/2539, by adding a public `get_metadata()` function in the dataset. This function can be used directly by users to fetch metadata for individual dataset indices, or users can subclass the dataset and override `__getitem__` with `get_metadata` to create a dataset class that directly handles metadata mode. Pull Request resolved: https://github.com/pytorch/audio/pull/2653 Reviewed By: nateanl, mthrok Differential Revision: D39105114 Pulled By: carolineechen fbshipit-source-id: 6f26f1402a053dffcfcc5d859f87271ed5923348
Showing
Please register or sign in to comment