Skip to content

Commit 0206cea

Browse files
author
The TensorFlow Datasets Authors
committed
remove new links for the cars196 dataset
PiperOrigin-RevId: 783248714
1 parent c3cf3b6 commit 0206cea

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

tensorflow_datasets/image_classification/cars196.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,14 @@
1414
# limitations under the License.
1515

1616
"""Dataset class for Cars196 Dataset."""
17-
1817
import os
1918
import urllib
2019

2120
from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow as tf
2221
import tensorflow_datasets.public_api as tfds
2322

24-
_URL = 'https://web.archive.org/web/20221212053154/http://ai.stanford.edu/~jkrause/car196/'
25-
_EXTRA_URL = 'https://web.archive.org/web/20230323151230/https://ai.stanford.edu/~jkrause/cars/car_devkit.tgz'
23+
_URL = 'http://ai.stanford.edu/~jkrause/car196/'
24+
_EXTRA_URL = 'https://ai.stanford.edu/~jkrause/cars/car_devkit.tgz'
2625

2726
_DESCRIPTION = (
2827
'The Cars dataset contains 16,185 images of 196 classes of cars. The data '
@@ -247,7 +246,7 @@
247246
class Cars196(tfds.core.GeneratorBasedBuilder):
248247
"""Car Images dataset."""
249248

250-
VERSION = tfds.core.Version('2.2.0')
249+
VERSION = tfds.core.Version('2.1.0')
251250
SUPPORTED_VERSIONS = [
252251
tfds.core.Version('2.1.0'),
253252
]
@@ -256,7 +255,6 @@ class Cars196(tfds.core.GeneratorBasedBuilder):
256255
'2.0.0': 'Initial release',
257256
'2.0.1': 'Website URL update',
258257
'2.1.0': 'Fixing bug https://github.com/tensorflow/datasets/issues/3927',
259-
'2.2.0': 'Fix broken links',
260258
}
261259

262260
def _info(self):
@@ -273,7 +271,7 @@ def _info(self):
273271
description=(_DESCRIPTION),
274272
features=tfds.features.FeaturesDict(features_dict),
275273
supervised_keys=('image', 'label'),
276-
homepage='https://web.archive.org/web/20230323151220/https://ai.stanford.edu/~jkrause/cars/car_dataset.html',
274+
homepage='https://ai.stanford.edu/~jkrause/cars/car_dataset.html',
277275
citation=_CITATION,
278276
)
279277

tensorflow_datasets/url_checksums/cars196.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,3 @@ http://ai.stanford.edu/~jkrause/car196/cars_test.tgz 977350468 bffea656d6f425cba
22
http://ai.stanford.edu/~jkrause/car196/cars_test_annos_withlabels.mat 185758 790f75be8ea34eeded134cc559332baf23e30e91367e9ddca97d26ed9b895f05 cars_test_annos_withlabels.mat
33
http://ai.stanford.edu/~jkrause/car196/cars_train.tgz 979269282 512b227b30e2f0a8aab9e09485786ab4479582073a144998da74d64b801fd288 cars_train.tgz
44
https://ai.stanford.edu/~jkrause/cars/car_devkit.tgz 330960 b97deb463af7d58b6bfaa18b2a4de9829f0f79e8ce663dfa9261bf7810e9accd car_devkit.tgz
5-
https://web.archive.org/web/20221212053154/http:/ai.stanford.edu/~jkrause/car196/cars_test.tgz 977350468 bffea656d6f425cba3c91c6d83336e4c5f86c6cffd8975b0f375d3a10da8e243 cars_test.tgz
6-
https://web.archive.org/web/20221212053154/http:/ai.stanford.edu/~jkrause/car196/cars_test_annos_withlabels.mat 185758 790f75be8ea34eeded134cc559332baf23e30e91367e9ddca97d26ed9b895f05 cars_test_annos_withlabels.mat
7-
https://web.archive.org/web/20221212053154/http:/ai.stanford.edu/~jkrause/car196/cars_train.tgz 979269282 512b227b30e2f0a8aab9e09485786ab4479582073a144998da74d64b801fd288 cars_train.tgz
8-
https://web.archive.org/web/20230323151230/https://ai.stanford.edu/~jkrause/cars/car_devkit.tgz 330960 b97deb463af7d58b6bfaa18b2a4de9829f0f79e8ce663dfa9261bf7810e9accd car_devkit.tgz

0 commit comments

Comments
 (0)