File tree Expand file tree Collapse file tree 1 file changed +23
-3
lines changed
tensorflow_datasets/image Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Original file line number Diff line number Diff line change 8
8
from tensorflow_datasets .image import imagewang
9
9
10
10
11
- class ImagewangTest (testing .DatasetBuilderTestCase ):
11
+ class ImagewangFullSizeTest (testing .DatasetBuilderTestCase ):
12
12
DATASET_CLASS = imagewang .Imagewang
13
+ BUILDER_CONFIG_NAMES_TO_TEST = ['full-size' ]
13
14
SPLITS = {
14
- "train" : 4 , # Number of fake train example
15
- "test" : 4 , # Number of fake test example
15
+ "train" : 4 ,
16
+ "test" : 4 ,
16
17
}
17
18
19
+
20
+ class Imagewang320Test (testing .DatasetBuilderTestCase ):
21
+ DATASET_CLASS = imagewang .Imagewang
22
+ BUILDER_CONFIG_NAMES_TO_TEST = ['320px' ]
23
+ SPLITS = {
24
+ "train" : 4 ,
25
+ "test" : 4 ,
26
+ }
27
+
28
+
29
+ class Imagewang160Test (testing .DatasetBuilderTestCase ):
30
+ DATASET_CLASS = imagewang .Imagewang
31
+ BUILDER_CONFIG_NAMES_TO_TEST = ['160px' ]
32
+ SPLITS = {
33
+ "train" : 4 ,
34
+ "test" : 4 ,
35
+ }
36
+
37
+
18
38
if __name__ == "__main__" :
19
39
testing .test_main ()
You can’t perform that action at this time.
0 commit comments