thbndi commited on
Commit
5a568d0
·
1 Parent(s): 0daf764

Update Mimic4Dataset.py

Browse files
Files changed (1) hide show
  1. Mimic4Dataset.py +6 -2
Mimic4Dataset.py CHANGED
@@ -133,9 +133,13 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
133
  data_dir = self.config.data_dir + "/dataDic"
134
  #mimic=self.mimic_path
135
  data_dir = self.config.data_dir + "/dataDic"
136
- path_git = dl_manager.download_and_extract(_URL)
137
- local_path_git = extract_path_from_uri(path_git)
 
 
 
138
  path_bench = local_path_git + "/MIMIC-IV-Data-Pipeline-main"
 
139
  return [
140
  datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": data_dir, "benchmark": path_bench}),
141
  ]
 
133
  data_dir = self.config.data_dir + "/dataDic"
134
  #mimic=self.mimic_path
135
  data_dir = self.config.data_dir + "/dataDic"
136
+
137
+ path_git = dl_manager.download(_URL)
138
+ print(path_git)
139
+ local_path_git = dl_manager.extract(path_git)
140
+ print(local_path_git)
141
  path_bench = local_path_git + "/MIMIC-IV-Data-Pipeline-main"
142
+
143
  return [
144
  datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": data_dir, "benchmark": path_bench}),
145
  ]