Datasets:

Modalities:
Image
Languages:
English
ArXiv:
Tags:
code
License:
eztao commited on
Commit
47694af
·
verified ·
1 Parent(s): 21c32b9

Update RefRef_dataset.py

Browse files
Files changed (1) hide show
  1. RefRef_dataset.py +1 -1
RefRef_dataset.py CHANGED
@@ -74,7 +74,7 @@ class RefRef(datasets.GeneratorBasedBuilder):
74
  datasets.SplitGenerator(
75
  name=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}",
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 f"{self.config.scene}_sphere" if cat == "environment_map_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
  },
 
74
  datasets.SplitGenerator(
75
  name=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}",
76
  gen_kwargs={
77
+ "filepaths": os.path.join(f"https://huggingface.co/datasets/yinyue27/RefRef_dataset/resolve/main/image_data/{cat}/{self.config.name}/",
78
  f"{self.config.scene}_sphere" if cat == "textured_sphere_scene" else f"{self.config.scene}_sphere" if cat == "environment_map_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
  },