PJLab-ADG / DetZero

[ICCV 2023] DetZero: Rethinking Offboard 3D Object Detection with Long-term Sequential Point Clouds
https://superkoma.github.io/detzero-page/
Apache License 2.0
334 stars 32 forks source link

ValueError: negative dimensions are not allowed #55

Open ljdhhhhh opened 6 months ago

ljdhhhhh commented 6 months ago

When I run test.py, this error will appear at the end

20240510-161901

lfxx commented 6 months ago

When I run test.py, this error will appear at the end

20240510-161901

i get this error too.and i solve it by modify the test.py code refer to openpcdet

LinearBasis commented 6 months ago

You should figure out where your negative dimensions come from. I had a similar error; it turned out that the box type was not specified in the config, which is why the size was set to -1. Change the config type passed here (https://github.com/PJLab-ADG/DetZero/blob/12c1358de8bcd0a0f5d51312a0a976e388a4d2ba/detection/detzero_det/datasets/waymo/waymo_eval_detection.py#L87) to the one you need

zw-92 commented 2 months ago

You should figure out where your negative dimensions come from. I had a similar error; it turned out that the box type was not specified in the config, which is why the size was set to -1. Change the config type passed here (

https://github.com/PJLab-ADG/DetZero/blob/12c1358de8bcd0a0f5d51312a0a976e388a4d2ba/detection/detzero_det/datasets/waymo/waymo_eval_detection.py#L87 ) to the one you need

Hello, may I ask where the specific configuration needs to be changed. thank.