XingjianL commited on
Commit
04a1354
1 Parent(s): d75821a

test custom config

Browse files
Files changed (1) hide show
  1. tomatotest.py +1 -1
tomatotest.py CHANGED
@@ -7,7 +7,7 @@ import h5py
7
  class CustomConfig(datasets.BuilderConfig):
8
  def __init__(self, **kwargs):
9
  super(CustomConfig, self).__init__(**kwargs)
10
- self.dataset_type = kwargs.pop("dataset_type", "all")
11
 
12
 
13
  class RGBSemanticDepthDataset(GeneratorBasedBuilder):
 
7
  class CustomConfig(datasets.BuilderConfig):
8
  def __init__(self, **kwargs):
9
  super(CustomConfig, self).__init__(**kwargs)
10
+ self.dataset_type = kwargs.pop("name", "all")
11
 
12
 
13
  class RGBSemanticDepthDataset(GeneratorBasedBuilder):