Update Action-Effect.py
Browse files- Action-Effect.py +3 -5
Action-Effect.py
CHANGED
|
@@ -59,11 +59,9 @@ class Action_Effect(datasets.GeneratorBasedBuilder):
|
|
| 59 |
|
| 60 |
def _split_generators(self, dl_manager: datasets.DownloadManager):
|
| 61 |
dl_dir = dl_manager.download_and_extract([JSON_URL, IMGS_URL])
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
action_effect_info_path = dl_dir + "/action_effect_info.json"
|
| 66 |
-
img_zip_path = dl_dir + "/action_effect_image_rs.tar.gz"
|
| 67 |
return [
|
| 68 |
datasets.SplitGenerator(
|
| 69 |
name= "ActionEffect",
|
|
|
|
| 59 |
|
| 60 |
def _split_generators(self, dl_manager: datasets.DownloadManager):
|
| 61 |
dl_dir = 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",
|