ProgramComputer commited on
Commit
148a01e
1 Parent(s): 5fbdf56

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +14 -4
test.py CHANGED
@@ -68,7 +68,7 @@ _URL = "https://mm.kaist.ac.kr/datasets/voxceleb"
68
 
69
  _URLS = {
70
  "video": {
71
- "placeholder": "hf://datasets/ProgramComputer/voxceleb/vox2/vox2_dev_mp4_partaa.zip",
72
  "dev": (
73
  "hf://datasets/ProgramComputer/voxceleb/vox2/vox2_dev_mp4_partaa",
74
  "hf://datasets/ProgramComputer/voxceleb/vox2/vox2_dev_mp4_partab",
@@ -83,7 +83,7 @@ _URLS = {
83
  "test": "hf://datasets/ProgramComputer/voxceleb/vox2/vox2_test_mp4.zip",
84
  },
85
  "audio1": {
86
- "placeholder": "hf://datasets/ProgramComputer/voxceleb/vox1/vox1_dev_wav_partaa.zip",
87
  "dev": (
88
  "hf://datasets/ProgramComputer/voxceleb/vox1/vox1_dev_wav_partaa",
89
  "hf://datasets/ProgramComputer/voxceleb/vox1/vox1_dev_wav_partab",
@@ -93,7 +93,7 @@ _URLS = {
93
  "test": "hf://datasets/ProgramComputer/voxceleb/vox1/vox1_test_wav.zip",
94
  },
95
  "audio2": {
96
- "placeholder": "hf://datasets/ProgramComputer/voxceleb/vox2/vox2_dev_aac_partaa.zip",
97
  "dev": (
98
  "hf://datasets/ProgramComputer/voxceleb/vox2/vox2_dev_aac_partaa",
99
  "hf://datasets/ProgramComputer/voxceleb/vox2/vox2_dev_aac_partab",
@@ -285,7 +285,17 @@ class Test(datasets.GeneratorBasedBuilder):
285
  for target in targets
286
  )
287
  )
288
- # raise Exception(dl_manager.download(
 
 
 
 
 
 
 
 
 
 
289
 
290
  mapped_paths = dl_manager.extract( dl_manager.download(
291
  dict( (
 
68
 
69
  _URLS = {
70
  "video": {
71
+ "placeholder": "hf://datasets/ProgramComputer/voxceleb/vox2/vox2_dev_mp4_partaa",
72
  "dev": (
73
  "hf://datasets/ProgramComputer/voxceleb/vox2/vox2_dev_mp4_partaa",
74
  "hf://datasets/ProgramComputer/voxceleb/vox2/vox2_dev_mp4_partab",
 
83
  "test": "hf://datasets/ProgramComputer/voxceleb/vox2/vox2_test_mp4.zip",
84
  },
85
  "audio1": {
86
+ "placeholder": "hf://datasets/ProgramComputer/voxceleb/vox1/vox1_dev_wav_partaa",
87
  "dev": (
88
  "hf://datasets/ProgramComputer/voxceleb/vox1/vox1_dev_wav_partaa",
89
  "hf://datasets/ProgramComputer/voxceleb/vox1/vox1_dev_wav_partab",
 
93
  "test": "hf://datasets/ProgramComputer/voxceleb/vox1/vox1_test_wav.zip",
94
  },
95
  "audio2": {
96
+ "placeholder": "hf://datasets/ProgramComputer/voxceleb/vox2/vox2_dev_aac_partaa",
97
  "dev": (
98
  "hf://datasets/ProgramComputer/voxceleb/vox2/vox2_dev_aac_partaa",
99
  "hf://datasets/ProgramComputer/voxceleb/vox2/vox2_dev_aac_partab",
 
285
  for target in targets
286
  )
287
  )
288
+ raise Exception(dl_manager.download(
289
+ dict( (
290
+ placeholder_key,
291
+ dict(
292
+ (target, _URLS[target][placeholder_key])
293
+ for target in targets
294
+ ),
295
+ )
296
+ for placeholder_key in ("dev","test")
297
+ )
298
+ ))
299
 
300
  mapped_paths = dl_manager.extract( dl_manager.download(
301
  dict( (