VocalSound 16k in WebDataset Format
收藏资源简介:
This dataset is the VocalSound dataset, formatted in the WebDataset format. WebDataset files are essentially tar archives, where each example in the dataset is represented by a pair of files: a WAV audio file and a corresponding JSON metadata file. The JSON file contains the class label and other relevant information for that particular audio sample. $ tar tf wds-audio-test-000000.tar | headm3109_0_laughter.jsonm3109_0_laughter.wavf0238_0_sniff.jsonf0238_0_sniff.wavm0526_0_cough.jsonm0526_0_cough.wavm0886_0_sneeze.jsonm0886_0_sneeze.wavo1897_0_laughter.jsono1897_0_laughter.wav $ cat m3109_0_laughter.json{"label": "laughter"}
本数据集为VocalSound数据集,采用WebDataset(WebDataset)格式进行组织。WebDataset文件本质上为tar归档文件,数据集中的每个样本均由一对文件表示:一个WAV音频文件与对应的JSON(JavaScript对象表示法)元数据文件。JSON元数据文件包含该音频样本的类别标签及其他相关信息。 执行`tar tf wds-audio-test-000000.tar | head`命令可查看该归档文件的前若干条目,示例如下: m3109_0_laughter.json、m3109_0_laughter.wav、f0238_0_sniff.json、f0238_0_sniff.wav、m0526_0_cough.json、m0526_0_cough.wav、m0886_0_sneeze.json、m0886_0_sneeze.wav、o1897_0_laughter.json、o1897_0_laughter.wav 以`m3109_0_laughter.json`为例,执行`cat m3109_0_laughter.json`命令可查看其文件内容,输出示例如下: `{"label": "laughter"}` 该JSON字段表明对应音频样本的类别标签为“笑声”。



