yangwang825 commited on
Commit
e1856e2
·
verified ·
1 Parent(s): 1aa88f2

Update audioset.py

Browse files
Files changed (1) hide show
  1. audioset.py +4 -1
audioset.py CHANGED
@@ -192,8 +192,11 @@ class AudioSet(datasets.GeneratorBasedBuilder):
192
 
193
  _, _walker = fast_scandir(archive_path, extensions, recursive=True)
194
 
 
 
 
195
  for guid, audio_path in enumerate(_walker):
196
- if Path(audio_path).name == 'YmW3S0u8bj58.wav':
197
  continue
198
  yield guid, {
199
  "id": str(guid),
 
192
 
193
  _, _walker = fast_scandir(archive_path, extensions, recursive=True)
194
 
195
+ bad_zip_files = [
196
+ 'YZu5HOzXcX7k.wav', 'YmW3S0u8bj58.wav'
197
+ ]
198
  for guid, audio_path in enumerate(_walker):
199
+ if Path(audio_path).name in bad_zip_files:
200
  continue
201
  yield guid, {
202
  "id": str(guid),