thbndi commited on
Commit
8fd769d
·
1 Parent(s): 7399f1e

Update Mimic4Dataset.py

Browse files
Files changed (1) hide show
  1. Mimic4Dataset.py +1 -2
Mimic4Dataset.py CHANGED
@@ -416,8 +416,7 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
416
  self.val_size = kwargs.pop("val_size",0.1)
417
 
418
  super().__init__(**kwargs)
419
- if self.encoding != 'onehot' or self.encoding != 'deep' or self.encoding != 'raw':
420
- raise ValueError("Encoding must be either onehot, deep or raw")
421
 
422
  BUILDER_CONFIGS = [
423
  Mimic4DatasetConfig(
 
416
  self.val_size = kwargs.pop("val_size",0.1)
417
 
418
  super().__init__(**kwargs)
419
+
 
420
 
421
  BUILDER_CONFIGS = [
422
  Mimic4DatasetConfig(