datasets icon indicating copy to clipboard operation
datasets copied to clipboard

import tensorflow_datasets as tfds

Open lienz opened this issue 2 years ago • 2 comments

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'))

lienz avatar Aug 26 '22 07:08 lienz

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

KilnOfTheSecondFlame avatar Jan 04 '23 13:01 KilnOfTheSecondFlame

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

frankayra avatar Jun 02 '23 16:06 frankayra