sps44 commited on
Commit
3a2932e
·
1 Parent(s): 0bf1a40

no ds load in prepare

Browse files
Files changed (1) hide show
  1. prepare.py +7 -7
prepare.py CHANGED
@@ -7,17 +7,17 @@ from datasets import load_dataset_builder
7
 
8
  if __name__ == "__main__":
9
 
10
- builder = load_dataset_builder('renumics/emodb-enriched')
11
 
12
 
13
- if os.path.exists(builder._cache_dir):
14
  # Load dataset from cache
15
- ds = datasets.load_dataset('renumics/emodb-enriched', split='all')
16
- print("Dataset loaded from cache.")
17
- else:
18
  # Load dataset using datasets.load_dataset()
19
- ds = datasets.load_dataset('renumics/emodb-enriched', split='all')
20
- print("Dataset loaded using datasets.load_dataset().")
21
 
22
 
23
 
 
7
 
8
  if __name__ == "__main__":
9
 
10
+ #builder = load_dataset_builder('renumics/emodb-enriched')
11
 
12
 
13
+ #if os.path.exists(builder._cache_dir):
14
  # Load dataset from cache
15
+ # ds = datasets.load_dataset('renumics/emodb-enriched', split='all')
16
+ # print("Dataset loaded from cache.")
17
+ #else:
18
  # Load dataset using datasets.load_dataset()
19
+ # ds = datasets.load_dataset('renumics/emodb-enriched', split='all')
20
+ # print("Dataset loaded using datasets.load_dataset().")
21
 
22
 
23