Update Mimic4Dataset.py
Browse files- Mimic4Dataset.py +2 -2
Mimic4Dataset.py
CHANGED
@@ -656,8 +656,8 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
|
|
656 |
config = self.config_path.split('/')[-1]
|
657 |
|
658 |
#####################create task cohort
|
659 |
-
if not os.path.exists(data_dir):
|
660 |
-
|
661 |
|
662 |
#####################Split data into train, test and val
|
663 |
with open(data_dir, 'rb') as fp:
|
|
|
656 |
config = self.config_path.split('/')[-1]
|
657 |
|
658 |
#####################create task cohort
|
659 |
+
#if not os.path.exists(data_dir):
|
660 |
+
task_cohort(self.config.name.replace(" ","_"),self.mimic_path,config)
|
661 |
|
662 |
#####################Split data into train, test and val
|
663 |
with open(data_dir, 'rb') as fp:
|