tensorflow / tensorflow/datasets

lvis builder can't be created

Open
#3,613 1 comment 0 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

Short description
Attempting to create the builder for the lvis dataset fails with an exception.

Environment information

  • Operating System: Ubuntu 18.04

  • Python version: 3.6.9

  • tensorflow-datasets/tfds-nightly version: tensorflow-datasets 4.4.0

  • tensorflow/tf-nightly version: tensorflow 2.6.2

  • Does the issue still exists with the last tfds-nightly package (pip install --upgrade tfds-nightly) ? Yes

Reproduction instructions

import tensorflow_datasets as tfds
tfds.builder("lvis")

Link to logs
https://gist.github.com/IRDonch/28230e78c4b6f97a53afd936b62f8635

Expected behavior
The builder should be created successfully.

Additional context
It's likely broken because lvis_classes.txt is not listed in setup.py, so it doesn't get included in the wheel.

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

Start by reproducing the failure with tfds.builder("lvis") and inspect setup.py alongside the lvis dataset files, especially lvis_classes.txt. Done means the required file is available in the packaged distribution and the lvis builder can be created successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
build-system, data, machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.