UniAD
UniAD copied to clipboard
TypeError: 'DataContainer' object is not subscriptable(The error occurs in the evaluation stage)
Hello: When I loaded the pre-trained first-stage model for evaluation, the following error occurred; I searched on Google, it is probably caused by the mmcv version, but I see that the mmcv version mentioned in our installation documentation does not have my version High; Please help me to see!
my locale mmcv-full 1.5.3+corex.3.1.0 mmdet 2.24.0 mmdet3d 1.0.0rc3 /home/work/yudefu/mmdetection3d mmengine 0.8.0 mmsegmentation 0.20.0 py3.9.7 torch 1.13.1+corex.3.1.0
error message
Traceback (most recent call last):
File "/home/work/yudefu/UniAD/./tools/test.py", line 262, in
@yudefu Hi, both of your installed mmcv and mmdet3d have higher version than what's required in this project. You may need to create a new environment and install the requisite version of packages.
@yudefu Hi, both of your installed mmcv and mmdet3d have higher version than what's required in this project. You may need to create a new environment and install the requisite version of packages. Okay, thank you very much; we don’t seem to have a low version of mmcv and mmdet3d adapted here, if you can’t solve it by installing a low version, do you have any good way to solve that error?