File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
tensorflow_datasets/image_classification Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -231,9 +231,9 @@ class CaltechBirds2011(CaltechBirds2010):
231
231
232
232
@property
233
233
def _caltech_birds_info (self ):
234
- return CaltechBirdsInfo (
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
+ combined_url = "https://data.caltech.edu/records/65de6-vp158/files/CUB_200_2011.tgz?download=1"
237
237
# images_url="https://drive.google.com/uc?export=download&id=1hbzc_P1FuxMkcabkgn9ZKinBwW683j45",
238
238
# split_url=None,
239
239
# annotations_url="https://drive.google.com/uc?export=download&id=1EamOKGLoTuZdtcVYbHMWNpkn3iAVj8TP",
@@ -371,3 +371,16 @@ class CaltechBirdsInfo(
371
371
annotations_url (str): annotation folder URL.
372
372
"""
373
373
374
+
375
+ class CaltechBirdsInfo2011 (
376
+ collections .namedtuple (
377
+ "_CaltechBirdsInfo2011" ,
378
+ ["name" , "combined_url" ],
379
+ )
380
+ ):
381
+ """Contains the information necessary to generate a Caltech Birds 2011 dataset.
382
+
383
+ Args:
384
+ name (str): name of dataset.
385
+ combined_url (str): URL containing images and attributes.
386
+ """
You can’t perform that action at this time.
0 commit comments