Update Mimic4Dataset.py
Browse files- 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 |
-
|
137 |
-
|
|
|
|
|
|
|
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 |
]
|