tensorflow / tensorflow/datasets

tfds.load to GCS hangs

Open
#4,115 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
4.6k
Forks
1.6k
Avg merge
3h 54m
Merged PRs (30d)
1

Description

Repro snippet:
! Please use your own writable GCS bucket in place of "your_bucket"
tfds.load(name="caltech_birds2011", shuffle_files=True, data_dir="gs://your_bucket")

Hangs indefinitely with "Extraction completed...: 0% 0/2 [00:21<?, ? file/s]"

  • Operating System: Linux (Vertex AI Workbench default)
  • Python version: 3.6
  • tensorflow-datasets/tfds-nightly version: 4.6.0
  • tensorflow/tf-nightly version: 2.9.1
  • Does the issue still exists with the last tfds-nightly package (pip install --upgrade tfds-nightly) YES

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by running the provided tfds.load reproduction with a writable GCS bucket under the listed Python, TensorFlow, and TFDS versions, then trace the extraction path responsible for the 0% hang. Done means the load completes without hanging and the behavior is covered by an appropriate regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
google-cloud, python, tensorflow
Domain
cloud, data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.