waymax icon indicating copy to clipboard operation
waymax copied to clipboard

INVALID_ARGUMENT: Feature: path_samples/arc_length (data type: float) is required but could not be found.

Open Sephirex-X opened this issue 1 year ago • 3 comments

Hi, when I set my conifg like:

conf = DatasetConfig(
    path='My_path_to_dataset',
    max_num_rg_points=20000,
    data_format=DataFormat.TFRECORD,
    max_num_objects=max_num_objects,
    num_shards = 48,
    repeat= 1,
    include_sdc_paths=True,
    num_paths= 1,
    num_points_per_path= 1,
)

I got this error:

2023-10-27 16:50:13.885355: W tensorflow/core/framework/op_kernel.cc:1828] OP_REQUIRES failed at example_parsing_ops.cc:98 : INVALID_ARGUMENT: Feature: path_samples/arc_length (data type: float) is required but could not be found.

I located the occurance on waymax/waymax/dataloader/dataloader_utils.py,line229:

for example in dataset.as_numpy_iterator():
      yield postprocess_fn(example)

It would be great if you can help me out there! Thx

Sephirex-X avatar Oct 27 '23 09:10 Sephirex-X