Datasets:

Modalities:
Image
Languages:
English
ArXiv:
Tags:
code
License:
eztao commited on
Commit
fe1b9bb
·
verified ·
1 Parent(s): 4bbd8cb

Fix more mistakes

Browse files
Files changed (1) hide show
  1. RefRef.py +1 -1
RefRef.py CHANGED
@@ -76,7 +76,7 @@ class RefRef(datasets.GeneratorBasedBuilder):
76
  gen_kwargs={
77
  "filepaths": os.path.join(f"https://huggingface.co/datasets/yinyue27/RefRef/resolve/main/image_data/{cat}/{self.config.name}/",
78
  f"{self.config.scene}_sphere" if cat == "textured_sphere_scene" else self.config.scene),
79
- split: f"{'cubeBg' if cat == 'textured_cube_scene' else 'sphereBg' if cat == 'textured_sphere_scene' else 'envMapBg'}_{'singleMatConvex' if self.config.name == 'single-convex' else 'singleMatNonConvex' if self.config.name == 'single-non-convex' else 'multiMatNonConvex'}_{self.config.scene}",
80
  },
81
  ) for cat in ["textured_sphere_scene", "textured_cube_scene", "environment_map_scene"]
82
  ]
 
76
  gen_kwargs={
77
  "filepaths": os.path.join(f"https://huggingface.co/datasets/yinyue27/RefRef/resolve/main/image_data/{cat}/{self.config.name}/",
78
  f"{self.config.scene}_sphere" if cat == "textured_sphere_scene" else self.config.scene),
79
+ "split": f"{'cubeBg' if cat == 'textured_cube_scene' else 'sphereBg' if cat == 'textured_sphere_scene' else 'envMapBg'}_{'singleMatConvex' if self.config.name == 'single-convex' else 'singleMatNonConvex' if self.config.name == 'single-non-convex' else 'multiMatNonConvex'}_{self.config.scene}",
80
  },
81
  ) for cat in ["textured_sphere_scene", "textured_cube_scene", "environment_map_scene"]
82
  ]