Commit
•
c1aabfa
1
Parent(s):
e87a480
Rename fsdkaggle2019-script.py to fsdkaggle2019.py
Browse files
fsdkaggle2019-script.py → fsdkaggle2019.py
RENAMED
@@ -101,10 +101,10 @@ class FSDKaggle2019(datasets.GeneratorBasedBuilder):
|
|
101 |
name = zip_file_url.split("/")[-1]
|
102 |
download_file(
|
103 |
zip_file_url,
|
104 |
-
os.path.join(HF_DATASETS_CACHE, 'confit___fsdkaggle2019
|
105 |
)
|
106 |
-
_input_file = os.path.join(HF_DATASETS_CACHE, 'confit___fsdkaggle2019
|
107 |
-
_output_file = os.path.join(HF_DATASETS_CACHE, 'confit___fsdkaggle2019
|
108 |
if not os.path.exists(_output_file):
|
109 |
os.system(f"zip -q -F {_input_file} --out {_output_file}")
|
110 |
train_archive_path = dl_manager.extract(_output_file)
|
|
|
101 |
name = zip_file_url.split("/")[-1]
|
102 |
download_file(
|
103 |
zip_file_url,
|
104 |
+
os.path.join(HF_DATASETS_CACHE, 'confit___fsdkaggle2019/noisy', VERSION, name)
|
105 |
)
|
106 |
+
_input_file = os.path.join(HF_DATASETS_CACHE, 'confit___fsdkaggle2019/noisy', VERSION, 'FSDKaggle2019.audio_train_noisy.zip')
|
107 |
+
_output_file = os.path.join(HF_DATASETS_CACHE, 'confit___fsdkaggle2019/noisy', VERSION, 'FSDKaggle2019.audio_train_noisy.combine.zip')
|
108 |
if not os.path.exists(_output_file):
|
109 |
os.system(f"zip -q -F {_input_file} --out {_output_file}")
|
110 |
train_archive_path = dl_manager.extract(_output_file)
|