yangwang825 commited on
Commit
f608db1
·
verified ·
1 Parent(s): d84b1c0

Update esc50.py

Browse files
Files changed (1) hide show
  1. esc50.py +12 -0
esc50.py CHANGED
@@ -33,6 +33,18 @@ class ESC50(datasets.GeneratorBasedBuilder):
33
  name="fold1",
34
  description='',
35
  ),
 
 
 
 
 
 
 
 
 
 
 
 
36
  ]
37
 
38
  def _info(self):
 
33
  name="fold1",
34
  description='',
35
  ),
36
+ Esc50Config(
37
+ features=datasets.Features(
38
+ {
39
+ "file": datasets.Value("string"),
40
+ "audio": datasets.Audio(sampling_rate=SAMPLE_RATE),
41
+ "sound": datasets.Value("string"),
42
+ "label": datasets.ClassLabel(names=ESC50_LABELS),
43
+ }
44
+ ),
45
+ name="fold2",
46
+ description='',
47
+ ),
48
  ]
49
 
50
  def _info(self):