tensorflow_datasets.load('cats_vs_dogs') not working !
See original GitHub issueCode NOT WORKING
# load dataset module
import tensorflow_datasets as tfds
# make downloading progress bar dissable
tfds.disable_progress_bar()
# download data - cats vs dogs
_=tfds.load('cats_vs_dogs', # dataset name
as_supervised=False, # include labels - False
)
ERROR: -> DownloadError: Failed to get url https://download.microsoft.com/download/3/E/1/3E1C3F21-ECDB-4869-8368-6DEBA77B919F/kagglecatsanddogs_3367a.zip. HTTP code: 404.
Environment - Google Colab
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:14
Top Results From Across the Web
cats_vs_dogs | TensorFlow Datasets
Description: A large set of images of cats and dogs. There are 1738 corrupted images that are dropped. Additional Documentation: Explore on Papers...
Read more >Error in importing Cats-vs-Dogs dataset in Google Colab
module 'tensorflow_datasets' has no attribute 'image_classification' This seems to work on my version: ``` # fix dataset url setattr(tfds.image.
Read more >Classify Images of Dogs and Cats using CNN and TensorFlow 2
It is a binary classification problem because there are two classes. ... We will use TensorFlow 2 and TensorFlow Datasets (TFDS).
Read more >Ready-to-use Datasets - 简单粗暴TensorFlow 2
TensorFlow Datasets is an out-of-the-box collection of dozens of commonly used machine learning datasets. The data can be loaded in the tf.data.
Read more >transfer-learning-cats-vs-dogs-tensorflow-datasets.ipynb
Load the Dogs vs Cats Dataset · # number of images in the dataset · info.splits[ ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi. I have a temporary solution below to modify the URL:
setattr(tfds.image_classification.cats_vs_dogs, ‘_URL’,“https://download.microsoft.com/download/3/E/1/3E1C3F21-ECDB-4869-8368-6DEBA77B919F/kagglecatsanddogs_5340.zip”)
Thanks Worked for me…