MCG-NJU / SparseBEV

[ICCV 2023] SparseBEV: High-Performance Sparse 3D Object Detection from Multi-Camera Videos
https://arxiv.org/abs/2308.09244
MIT License
339 stars 24 forks source link

img_curr_large = img[:, i] # [B, 6, C, H, W] IndexError: index 1 is out of bounds for dimension 1 with size 1 #40

Closed matrix97317 closed 10 months ago

matrix97317 commented 10 months ago

when world size==1, under test_mode, occur the following error: img_curr_large = img[:, i] # [B, 6, C, H, W] IndexError: index 1 is out of bounds for dimension 1 with size 1

afterthat97 commented 10 months ago

which config?

matrix97317 commented 10 months ago

configs/r50_nuimg_704x256.py

afterthat97 commented 10 months ago

more details? it works fine on my server.

matrix97317 commented 10 months ago

image if num_frames = len(img_filenames) // 6 change to num_frames = N//6, it work.

matrix97317 commented 10 months ago

@afterthat97 , when world size==1, can I use test offline model? screenshot-20231113-195804 screenshot-20231113-195730