tensorflow / tensorflow/datasets
lvis builder can't be created
Nobody has claimed this yet.
- 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-nightlyversion: tensorflow-datasets 4.4.0 -
tensorflow/tf-nightlyversion: tensorflow 2.6.2 -
Does the issue still exists with the last
tfds-nightlypackage (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
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 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