tensorflow / tensorflow/datasets

Got errors in cycle_gan dataset

Open
#1,918 0 comments 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
Got error in two of the configs of cycle_gan dataset

  1. cycle_gan/maps
  2. cycle_gan/cityscapes

In cycle_gan/maps calling tfds.builder("cycle_gan/maps") shows empty split dict. However after calling builder.download_and_prepare() method it works fine.

In cycle_gan/cityscapes shows first NonMatchingChecksomeError but after running python -m tensorflow_datasets.scripts.download_and_prepare --register_checksums --datasets=cycle_gan/cityscapes it shows Could not find directory this is maybe due to data fails to load but when I visit datapage its looks like dataset is broken for cityscapes config.

Reproduction instructions

See this colab it explains all the mention errors.

Link to logs
Link to Colab above

Expected behavior
All configs works fine.

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 with the linked Colab and reproduce both cycle_gan/maps and cycle_gan/cityscapes using the reported builder and download_and_prepare commands. Check the dataset download source and checksum behavior described in the issue. Done means both configurations load successfully with working split metadata and without checksum or missing-directory errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.