File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ def _create_builder_configs():
69
69
class Builder (tfds .core .GeneratorBasedBuilder ):
70
70
"""An ImageNet test set recollected by following the original protocol."""
71
71
72
- VERSION = tfds .core .Version ('3.1 .0' )
72
+ VERSION = tfds .core .Version ('3.0 .0' )
73
73
SUPPORTED_VERSIONS = [
74
74
tfds .core .Version ('2.0.0' ),
75
75
]
Original file line number Diff line number Diff line change 18
18
19
19
import tensorflow_datasets as tfds
20
20
21
+ _DO_NOT_CKECK_DATASETS = ['imagenet_v2' ]
22
+
21
23
22
24
@dataclasses .dataclass (frozen = True , kw_only = True )
23
25
class _BuilderWithVersionMismatch :
@@ -33,6 +35,8 @@ def test_internal_datasets_have_versions_on_line_with_the_release_notes():
33
35
builders_with_version_mismatch : list [_BuilderWithVersionMismatch ] = []
34
36
for builder in builders :
35
37
builder_cls = tfds .core .registered .imported_builder_cls (builder )
38
+ if builder_cls .name in _DO_NOT_CKECK_DATASETS :
39
+ continue
36
40
if not (
37
41
hasattr (builder_cls , 'VERSION' )
38
42
and hasattr (builder_cls , 'RELEASE_NOTES' )
You can’t perform that action at this time.
0 commit comments