occupancy-for-nuscenes icon indicating copy to clipboard operation
occupancy-for-nuscenes copied to clipboard

How to deal with velocities=[]

Open Robertwyq opened this issue 2 years ago • 1 comments

Hi, when I run your code on the trainval set, in some scenes it will meet the following problem:

velocities = np.concatenate((velocities, np.zeros_like(velocities[:, 0:1])), axis=-1) IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed

Robertwyq avatar Feb 22 '23 16:02 Robertwyq