File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
tensorflow_datasets/image_classification Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ def _caltech_birds_info(self):
234
234
return CaltechBirdsInfo2011 (
235
235
name = self .name ,
236
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
+ segmentations_url = "https://data.caltech.edu/records/w9d68-gec53/files/segmentations.tgz?download=1" ,
238
238
# images_url="https://drive.google.com/uc?export=download&id=1hbzc_P1FuxMkcabkgn9ZKinBwW683j45",
239
239
# split_url=None,
240
240
# annotations_url="https://drive.google.com/uc?export=download&id=1EamOKGLoTuZdtcVYbHMWNpkn3iAVj8TP",
@@ -259,15 +259,13 @@ def _info(self):
259
259
)
260
260
261
261
def _split_generators (self , dl_manager ):
262
- download_path = dl_manager .download (
263
- [
264
- self ._caltech_birds_info .images_url ,
265
- ]
266
- )
262
+ download_path = dl_manager .download ([
263
+ self ._caltech_birds_info .images_url ,
264
+ ])
267
265
268
266
extracted_path = dl_manager .download_and_extract ([
269
267
self ._caltech_birds_info .images_url ,
270
- self ._caltech_birds_info .segmentations_url
268
+ self ._caltech_birds_info .segmentations_url ,
271
269
])
272
270
273
271
image_names_path = os .path .join (
You can’t perform that action at this time.
0 commit comments