rithwiks commited on
Commit
da334ae
1 Parent(s): e1358be
Files changed (1) hide show
  1. SBI-16-2D.py +2 -2
SBI-16-2D.py CHANGED
@@ -38,7 +38,7 @@ _REPO_ID = "AstroCompress/SBI-16-2D"
38
  class SBI_16_2D(datasets.GeneratorBasedBuilder):
39
  """SBI-16-2D Dataset"""
40
 
41
- VERSION = datasets.Version("1.0.3")
42
 
43
  BUILDER_CONFIGS = [
44
  datasets.BuilderConfig(
@@ -155,4 +155,4 @@ class SBI_16_2D(datasets.GeneratorBasedBuilder):
155
  # Process image data from HDU index 4
156
  image_data_4 = hdul[4].data[:, :].tolist()
157
  task_instance_key_4 = f"{self.config.name}-{split}-{idx}-HDU4"
158
- yield task_instance_key_4, {**{"image": image_data_4}, **item}
 
38
  class SBI_16_2D(datasets.GeneratorBasedBuilder):
39
  """SBI-16-2D Dataset"""
40
 
41
+ VERSION = datasets.Version("1.0.4")
42
 
43
  BUILDER_CONFIGS = [
44
  datasets.BuilderConfig(
 
155
  # Process image data from HDU index 4
156
  image_data_4 = hdul[4].data[:, :].tolist()
157
  task_instance_key_4 = f"{self.config.name}-{split}-{idx}-HDU4"
158
+ yield task_instance_key_4, {**{"image": image_data_4}, **item}