Jiayi-Pan commited on
Commit
8dc5742
·
1 Parent(s): a891579

Update Action-Effect.py

Browse files
Files changed (1) hide show
  1. 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
- 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",
 
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",