NVlabs / trajdata

A unified interface to many trajectory forecasting datasets.
Apache License 2.0
290 stars 38 forks source link

Use max frame id as scene length instead of file length #5

Closed Leon0402 closed 2 years ago

Leon0402 commented 2 years ago

Previously scene.length_timesteps would give the total number of rows in the eth dataset. With this fix it instead gives the max. frame id now.

BorisIvanovic commented 2 years ago

Good catch @Leon0402! Thank you for making this pull request, it all looks good. LGTM!

Leon0402 commented 2 years ago

Thank you!