tensorflow / tensorflow/datasets
movielens dataset is broken
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 1.6k
- Avg merge
- 3h 54m
- Merged PRs (30d)
- 1
Description
/!\ PLEASE INCLUDE THE FULL STACKTRACE AND CODE SNIPPET
Short description
Description of the bug.
Run this simple code:
ratings = tfds.load("movielens/100k-ratings", split="train")
TFDS fails to download the dataset.
Environment information
-
Operating System: Colab
-
Python version:
-
tensorflow-datasets/tfds-nightlyversion: latest stable and nightly -
tensorflow/tf-nightlyversion: 2.8 -
Does the issue still exists with the last
tfds-nightlypackage (pip install --upgrade tfds-nightly) ? yes
Reproduction instructions
ratings = tfds.load("movielens/100k-ratings", split="train")
If you share a colab, make sure to update the permissions to share it.
Link to logs
Downloading and preparing dataset 4.70 MiB (download: 4.70 MiB, generated: 32.41 MiB, total: 37.10 MiB) to /root/tensorflow_datasets/movielens/100k-ratings/0.1.0...
Dl Completed...: 0%
0/1 [00:00<?, ? url/s]
Dl Size...:
0/0 [00:00<?, ? MiB/s]
Extraction completed...:
0/0 [00:00<?, ? file/s]
OSError Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/urllib3/connection.py in _new_conn(self)
158 conn = connection.create_connection(
--> 159 (self._dns_host, self.port), self.timeout, **extra_kw)
160
38 frames
OSError: [Errno 113] No route to host
During handling of the above exception, another exception occurred:
NewConnectionError Traceback (most recent call last)
NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1763b62090>: Failed to establish a new connection: [Errno 113] No route to host
During handling of the above exception, another exception occurred:
MaxRetryError Traceback (most recent call last)
MaxRetryError: HTTPConnectionPool(host='files.grouplens.org', port=80): Max retries exceeded with url: /datasets/movielens/ml-100k.zip (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1763b62090>: Failed to establish a new connection: [Errno 113] No route to host'))
During handling of the above exception, another exception occurred:
ConnectionError Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/requests/adapters.py in send(self, request, stream, timeout, verify, cert, proxies)
514 raise SSLError(e, request=request)
515
--> 516 raise ConnectionError(e, request=request)
517
518 except ClosedPoolError as e:
ConnectionError: HTTPConnectionPool(host='files.grouplens.org', port=80): Max retries exceeded with url: /datasets/movielens/ml-100k.zip (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1763b62090>: Failed to establish a new connection: [Errno 113] No route to host'))
Expected behavior
What you expected to happen.
Additional context
Add any other context about the problem here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the reported tfds.load("movielens/100k-ratings", split="train") reproduction and inspect the failure reaching files.grouplens.org/datasets/movielens/ml-100k.zip. No repository file or test is named in the issue; done means the dataset downloads and loads successfully in the reported environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, tensorflow
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100