查看每个子文件当中第一个文件
代码如下:
for x in sample_audio:
print(x)
输出结果:
data/train/audio//bed/00f0204f_nohash_0.wav
data/train/audio//bird/00b01445_nohash_0.wav
data/train/audio//cat/00b01445_nohash_0.wav
data/train/audio//dog/fc2411fe_nohash_0.wav
data/train/audio//down/fbdc07bb_nohash_0.wav
data/train/audio//eight/fd395b74_nohash_0.wav
data/train/audio//five/fd395b74_nohash_2.wav
data/train/audio//four/fd32732a_nohash_0.wav
data/train/audio//go/00b01445_nohash_0.wav
data/train/audio//happy/fbf3dd31_nohash_0.wav
data/train/audio//house/fcb25a78_nohash_0.wav
data/train/audio//left/00b01445_nohash_0.wav
data/train/audio//marvin/fc2411fe_nohash_0.wav
data/train/audio//nine/00b01445_nohash_0.wav
data/train/audio//no/fe1916ba_nohash_0.wav
data/train/audio//off/00b01445_nohash_0.wav
data/train/audio//on/00b01445_nohash_0.wav
data/train/audio//one/00f0204f_nohash_0.wav
data/train/audio//right/00b01445_nohash_0.wav
data/train/audio//seven/0a0b46ae_nohash_0.wav
data/train/audio//sheila/00f0204f_nohash_0.wav
data/train/audio//six/00b01445_nohash_0.wav
data/train/audio//stop/0ab3b47d_nohash_0.wav
data/train/audio//three/00b01445_nohash_0.wav
data/train/audio//tree/00b01445_nohash_0.wav
data/train/audio//two/00b01445_nohash_0.wav
data/train/audio//up/00b01445_nohash_0.wav
data/train/audio//wow/00f0204f_nohash_0.wav
data/train/audio//yes/00f0204f_nohash_0.wav
data/train/audio//zero/0ab3b47d_nohash_0.wav
data/train/audio//_backgroundnoise/doing_the_dishes.wav