tensorflow / tensorflow/datasets
Drive download issue
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 1.6k
- Avg merge
- 3h 54m
- Merged PRs (30d)
- 1
Description
/!\ IF YOU WANT PEOPLE TO HELP YOU, PLEASE GIVE AS MUCH DETAIL AS POSSIBLE, INCLUDING THE FULL STACKTRACE AND CODE SNIPPET
Short description
Description of the bug.
Environment information
- Operating System: ubuntu 20.04
- Python version: 3.8
tensorflow-datasets/tfds-nightlyversion: 3.2.1tensorflow/tensorflow-gpu/tf-nightly/tf-nightly-gpuversion: 2.3.0 cpu
Reproduction instructions
run starGAN example:
https://github.com/tensorflow/gan/tree/master/tensorflow_gan/examples/stargan
**Link to logs**
File "/usr/lib/python3.8/contextlib.py", line 113, in enter
return next(self.gen)
File "/home/elich11/.local/lib/python3.8/site-packages/tensorflow_datasets/core/download/downloader.py", line 190, in _open_with_requests
url = _get_drive_url(url, session)
File "/home/elich11/.local/lib/python3.8/site-packages/tensorflow_datasets/core/download/downloader.py", line 208, in _get_drive_url
_assert_status(response)
File "/home/elich11/.local/lib/python3.8/site-packages/tensorflow_datasets/core/download/downloader.py", line 219, in _assert_status
raise DownloadError('Failed to get url {}. HTTP code: {}.'.format(
tensorflow_datasets.core.download.downloader.DownloadError: Failed to get url https://doc-14-84-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/fl65mfib6ml8n62jg64kj2uu4vp61259/1599668100000/13182073909007362810/*/0B7EVK8r0v71pd0FJY3Blby1HUTQ?e=download. HTTP code: 403.
**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 linked StarGAN example in the reported Ubuntu, Python, TensorFlow, and TFDS versions and reproduce the HTTP 403. Then inspect tensorflow_datasets/core/download/downloader.py, especially _open_with_requests, _get_drive_url, and _assert_status. The issue does not define expected behavior beyond a successful download, so completion criteria need clarification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, tensorflow
- Domain
- data, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100