tensorflow / datasets

TFDS is a collection of datasets ready to use with TensorFlow, Jax, ...
https://www.tensorflow.org/datasets
Apache License 2.0
4.31k stars 1.54k forks source link

import tensorflow_datasets as tfds #4090

Open lienz opened 2 years ago

lienz commented 2 years ago

Short description Loading GTZAN in google Colab does not work because the connection times out.

Reproduction instructions

import tensorflow_datasets as tfds
dataset = tfds.load('gtzan', split='train')

Error message:

ConnectionError: HTTPConnectionPool(host='opihi.cs.uvic.ca', port=80): Max retries exceeded with url: /sound/genres.tar.gz (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc569d7bed0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
KilnOfTheSecondFlame commented 1 year ago

Both the GTZAN URL and GTZAN timeout (not available anymore), which results in the error you encountered

Dl Completed...:   0%|
WARNING:urllib3.connectionpool:Retrying (Retry(total=9, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x0000022979F39750>, 'Connection to opihi.cs.uvic.ca timed out. (connect timeout=None)')': /sound/music_speech.tar.gz
WARNING:urllib3.connectionpool:Retrying (Retry(total=8, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x0000022979F399C0>, 'Connection to opihi.cs.uvic.ca timed out. (connect timeout=None)')': /sound/music_speech.tar.gz
frankayra commented 1 year ago

did you finally find how to load GTZAN in google collab?