dxl952@case.edu commited on
Commit
7d13bcb
·
1 Parent(s): 08abeb7

debug dataset.py

Browse files
Files changed (1) hide show
  1. dataset.py +4 -0
dataset.py CHANGED
@@ -26,6 +26,7 @@ _HOMEPAGE = "https://huggingface.co/datasets/LLDDSS/Causal3D"
26
  _LICENSE = "CC-BY-4.0"
27
 
28
  class Causal3D(datasets.GeneratorBasedBuilder):
 
29
  BUILDER_CONFIGS = [
30
  # hypothetical_scenes
31
  datasets.BuilderConfig(name="hypothetical_scenes_Hypothetic_v2_linear",
@@ -58,6 +59,7 @@ class Causal3D(datasets.GeneratorBasedBuilder):
58
  ]
59
 
60
  def _info(self):
 
61
  return datasets.DatasetInfo(
62
  description=_DESCRIPTION,
63
  features=datasets.Features({
@@ -168,4 +170,6 @@ class Causal3D(datasets.GeneratorBasedBuilder):
168
 
169
  except Exception as e:
170
  print(color(f"Error processing CSV rows: {e}", "31"))
 
 
171
 
 
26
  _LICENSE = "CC-BY-4.0"
27
 
28
  class Causal3D(datasets.GeneratorBasedBuilder):
29
+ DEFAULT_CONFIG_NAME = "real_scenes_Real_magnet_v3"
30
  BUILDER_CONFIGS = [
31
  # hypothetical_scenes
32
  datasets.BuilderConfig(name="hypothetical_scenes_Hypothetic_v2_linear",
 
59
  ]
60
 
61
  def _info(self):
62
+ print(">>> Loaded config:", self.config.name) # 🟡 加这个调试输出
63
  return datasets.DatasetInfo(
64
  description=_DESCRIPTION,
65
  features=datasets.Features({
 
170
 
171
  except Exception as e:
172
  print(color(f"Error processing CSV rows: {e}", "31"))
173
+
174
+
175