Update Action-Effect.py
Browse files- Action-Effect.py +4 -4
Action-Effect.py
CHANGED
@@ -58,10 +58,10 @@ class Action_Effect(datasets.GeneratorBasedBuilder):
|
|
58 |
)
|
59 |
|
60 |
def _split_generators(self, dl_manager: datasets.DownloadManager):
|
61 |
-
|
62 |
-
print(dl_dir)
|
63 |
-
action_effect_info_path = dl_dir[0] + "/action_effect_info.json"
|
64 |
-
img_zip_path = dl_dir[1] + "/action_effect_image_rs.tar.gz"
|
65 |
return [
|
66 |
datasets.SplitGenerator(
|
67 |
name= "ActionEffect",
|
|
|
58 |
)
|
59 |
|
60 |
def _split_generators(self, dl_manager: datasets.DownloadManager):
|
61 |
+
[action_effect_info_path, img_zip_path] = dl_manager.download_and_extract([JSON_URL, IMGS_URL])
|
62 |
+
# print(dl_dir)
|
63 |
+
# action_effect_info_path = dl_dir[0] + "/action_effect_info.json"
|
64 |
+
# img_zip_path = dl_dir[1] + "/action_effect_image_rs.tar.gz"
|
65 |
return [
|
66 |
datasets.SplitGenerator(
|
67 |
name= "ActionEffect",
|