Skip to content

ValueError: Failed to encode example #4

@leolin9248

Description

@leolin9248

I am running prepare_open_x.sh for "nyu_franka_play_dataset_converted_externally_to_rlds".
A ValueError was raised at sample = features.encode_example(sample) in function parse_examples_from_generator.

ValueError: Failed to encode example:
{'episode_metadata': {'file_path': b'data/train/2022-08-22_15-07-28'}, 'steps': <tensorflow_datasets.core.dataset_utils._IterableDataset object at 0x7f48b03dac10>}
In <Dataset> with name "steps":
In <FeaturesDict> with name "observation":
In <Tensor> with name "depth":
invalid literal for int() with base 10: b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\x80\x00\x00\x00\x80\x10\x00\x00\x00\x00\xb6\xc5\xe2T\x00\x00 \x00IDATx\x9c\xa5\xbdy\xd0n\xd9U\xde\xf7\xdb\xc3\x99\xde\xe1\x9bn\xdf{{RK\xddR\x0b\xa9EKF

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