Skip to content

Commit e16095d

Browse files
committed
use short description for dataset configuration
1 parent e374a56 commit e16095d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tensorflow_datasets/image/imagewang.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@
5050
This dataset consists of the Imagenette dataset {size} variant.
5151
"""
5252

53+
_DESCRIPTION_SHORT = """\
54+
Imagewang contains Imagenette and Imagewoof combined.
55+
"""
56+
5357
_LABELS_FNAME = "image/imagewang_labels.txt"
5458
_URL_PREFIX = "https://s3.amazonaws.com/fast-ai-imageclas"
5559
_SIZES = ["full-size", "320px", "160px"]
@@ -77,7 +81,7 @@ def _make_builder_configs():
7781
ImagewangConfig(
7882
name=size,
7983
size=size,
80-
description=_DESCRIPTION.format(size=size)))
84+
description=_DESCRIPTION_SHORT))
8185
return configs
8286

8387

0 commit comments

Comments
 (0)