sps44 commited on
Commit
e464725
1 Parent(s): 6398c9c
Files changed (2) hide show
  1. prepare.py +2 -0
  2. run.py +2 -0
prepare.py CHANGED
@@ -13,6 +13,8 @@ if __name__ == "__main__":
13
  # Load dataset using datasets.load_dataset()
14
  dataset = datasets.load_dataset("renumics/cifar100-enriched", split="train")
15
  print("Dataset loaded using datasets.load_dataset().")
 
 
16
 
17
  # Save dataset to cache
18
  df.to_parquet(cache_file)
 
13
  # Load dataset using datasets.load_dataset()
14
  dataset = datasets.load_dataset("renumics/cifar100-enriched", split="train")
15
  print("Dataset loaded using datasets.load_dataset().")
16
+
17
+ df = dataset.to_pandas()
18
 
19
  # Save dataset to cache
20
  df.to_parquet(cache_file)
run.py CHANGED
@@ -14,6 +14,8 @@ if __name__ == "__main__":
14
  # Load dataset using datasets.load_dataset()
15
  dataset = datasets.load_dataset("renumics/cifar100-enriched", split="train")
16
  print("Dataset loaded using datasets.load_dataset().")
 
 
17
 
18
  # Save dataset to cache
19
  df.to_parquet(cache_file)
 
14
  # Load dataset using datasets.load_dataset()
15
  dataset = datasets.load_dataset("renumics/cifar100-enriched", split="train")
16
  print("Dataset loaded using datasets.load_dataset().")
17
+
18
+ df = dataset.to_pandas()
19
 
20
  # Save dataset to cache
21
  df.to_parquet(cache_file)