Skip to content

Commit 4481344

Browse files
committed
Fix formatting
1 parent 8d0509c commit 4481344

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

tensorflow_datasets/image_classification/caltech_birds.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def _caltech_birds_info(self):
234234
return CaltechBirdsInfo2011(
235235
name=self.name,
236236
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",
238238
# images_url="https://drive.google.com/uc?export=download&id=1hbzc_P1FuxMkcabkgn9ZKinBwW683j45",
239239
# split_url=None,
240240
# annotations_url="https://drive.google.com/uc?export=download&id=1EamOKGLoTuZdtcVYbHMWNpkn3iAVj8TP",
@@ -259,15 +259,13 @@ def _info(self):
259259
)
260260

261261
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+
])
267265

268266
extracted_path = dl_manager.download_and_extract([
269267
self._caltech_birds_info.images_url,
270-
self._caltech_birds_info.segmentations_url
268+
self._caltech_birds_info.segmentations_url,
271269
])
272270

273271
image_names_path = os.path.join(

0 commit comments

Comments
 (0)