File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
tensorflow_datasets/image_classification Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,8 @@ class CaltechBirds2011(CaltechBirds2010):
233
233
def _caltech_birds_info (self ):
234
234
return CaltechBirdsInfo2011 (
235
235
name = self .name ,
236
- combined_url = "https://data.caltech.edu/records/65de6-vp158/files/CUB_200_2011.tgz?download=1"
236
+ images_url = "https://data.caltech.edu/records/65de6-vp158/files/CUB_200_2011.tgz?download=1" ,
237
+ segmentations_url = "https://data.caltech.edu/records/w9d68-gec53/files/segmentations.tgz?download=1"
237
238
# images_url="https://drive.google.com/uc?export=download&id=1hbzc_P1FuxMkcabkgn9ZKinBwW683j45",
238
239
# split_url=None,
239
240
# annotations_url="https://drive.google.com/uc?export=download&id=1EamOKGLoTuZdtcVYbHMWNpkn3iAVj8TP",
@@ -374,12 +375,13 @@ class CaltechBirdsInfo(
374
375
class CaltechBirdsInfo2011 (
375
376
collections .namedtuple (
376
377
"_CaltechBirdsInfo2011" ,
377
- ["name" , "combined_url " ],
378
+ ["name" , "images_urls" , "segmentations_url " ],
378
379
)
379
380
):
380
381
"""Contains the information necessary to generate a Caltech Birds 2011 dataset.
381
382
382
383
Args:
383
384
name (str): name of dataset.
384
- combined_url (str): URL containing images and attributes.
385
+ images_urls (str): URL containing images
386
+ segmentations_url (str): URL containing segmentations.
385
387
"""
You can’t perform that action at this time.
0 commit comments