You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/home/mmdetection3d/mmdet3d/projects/centerformer/centerformer_backbone.py", line 878, in forward
x_up_fuse = torch.cat((x_up, x_prev_cat), dim=1) + self.time_embedding(example['times'][:, :, None].to(x_up)).reshape(x_up.shape[0], -1, 1, 1)
~~~~~~~^^^^^^^^^
TypeError: list indices must be integers or slices, not str
Additional information
Hi,
I wanted to try Centerformer with MultiFrameDeformableDecoderRPN with the Spatial-aware Fusion. I used it as the backbone and added LoadPointsFromMultiSweeps in the pipeline.
Unfortunately, I think things are missing. In the forward function of MultiFrameDeformableDecoderRPN, it uses example['times'], example['ind'] and example['mask'] that are empty. I can't find code in mmdetection that fill these values.
I'm trying to understand original repo, but wondering how it is suppose to work in mmdetection3D ? Maybe @JingweiZhang12 may help ?
Thank you,
Clément
The text was updated successfully, but these errors were encountered:
Prerequisite
Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
main branch https://github.com/open-mmlab/mmdetection3d
Environment
Reproduces the problem - code sample
Using MultiFrameDeformableDecoderRPN in https://github.com/open-mmlab/mmdetection3d/blob/fe25f7a51d36e3702f961e198894580d83c4387b/projects/CenterFormer/configs/centerformer_voxel01_second-attn_secfpn-attn_4xb4-cyclic-20e_waymoD5-3d-3class.py
Reproduces the problem - command or script
python tools/train.py configs/easymile/ms3d/centerformer_multiframes.py
Reproduces the problem - error message
Additional information
Hi,
I wanted to try Centerformer with MultiFrameDeformableDecoderRPN with the Spatial-aware Fusion. I used it as the backbone and added LoadPointsFromMultiSweeps in the pipeline.
Unfortunately, I think things are missing. In the forward function of MultiFrameDeformableDecoderRPN, it uses example['times'], example['ind'] and example['mask'] that are empty. I can't find code in mmdetection that fill these values.
I'm trying to understand original repo, but wondering how it is suppose to work in mmdetection3D ? Maybe @JingweiZhang12 may help ?
Thank you,
Clément
The text was updated successfully, but these errors were encountered: