Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: 'DataContainer' object is not subscriptable #205

Open
hitjing opened this issue Oct 18, 2024 · 0 comments
Open

TypeError: 'DataContainer' object is not subscriptable #205

hitjing opened this issue Oct 18, 2024 · 0 comments

Comments

@hitjing
Copy link

hitjing commented Oct 18, 2024

when I run ./tools/uniad_dist_eval.sh ./projects/configs/stage1_track_map/base_track_map.py ./ckpts/uniad_base_track_map.pth 4
this problem appears:
Traceback (most recent call last):
File "./tools/test.py", line 262, in
main()
File "./tools/test.py", line 232, in main
outputs = custom_multi_gpu_test(model, data_loader, args.tmpdir,
File "/home/wangyj/UniAD/projects/mmdet3d_plugin/uniad/apis/test.py", line 90, in custom_multi_gpu_test
result = model(return_loss=False, rescale=True, **data)
File "/home/wangyj/anaconda3/envs/uniad/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
return forward_call(*input, **kwargs)
File "/home/wangyj/anaconda3/envs/uniad/lib/python3.8/site-packages/torch/nn/parallel/distributed.py", line 799, in forward
output = self.module(*inputs[0], **kwargs[0])
File "/home/wangyj/anaconda3/envs/uniad/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
return forward_call(*input, **kwargs)
File "/home/wangyj/UniAD/projects/mmdet3d_plugin/uniad/detectors/uniad_e2e.py", line 83, in forward
return self.forward_test(**kwargs)
File "/home/wangyj/UniAD/projects/mmdet3d_plugin/uniad/detectors/uniad_e2e.py", line 263, in forward_test
if img_metas[0][0]['scene_token'] != self.prev_frame_info['scene_token']:
TypeError: 'DataContainer' object is not subscriptable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant