Skip to content

Parallel Mode: AssertionError: No examples were yielded. #5

@emfebert

Description

@emfebert

Hi,

I'd like to run dataset generation using beam and I'm getting the following error:

shard_boundaries = _get_shard_boundaries(num_examples, num_shards)

File "/home/febert/anaconda3/envs/rlds_env/lib/python3.9/site-packages/tensorflow_datasets/core/writer.py", line 142, in _get_shard_boundaries
raise AssertionError("No examples were yielded.")
AssertionError: No examples were yielded.

Dataset generation in a single process works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions