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
Hi, thanks for the great work. And I meet the same issue with issue#2, as following,
File "~/Repo/FutureDet/det3d/datasets/pipelines/preprocess.py", line 221, in __call__
res["lidar"]["bev_map"] = bev.transpose(2, 0, 1)
ValueError: axes don't match array
Although I use the v1.0-mini nuscenes data, I don't think it matters.
After my debugging, I found that the problem lies in the bev process of generating info_xxx.pkl, as follows
Thanks @YiMengNB, in issue#2, the author said''res["lidar"]["bev_map"] should be an empty numpy array of size (1, 180, 180)'' .
So, I simply added a dimension to bev before this line, such as bev = bev[None, :, :], it also work. The predicted output can be obtained normally.
But I'm not sure if this is completely correct and consistent with the original intent.
Hi, thanks for the great work. And I meet the same issue with issue#2, as following,
Although I use the v1.0-mini nuscenes data, I don't think it matters.
After my debugging, I found that the problem lies in the bev process of generating
info_xxx.pkl
, as followsFutureDet/det3d/datasets/nuscenes/nusc_common.py
Lines 508 to 509 in 960115e
FutureDet/det3d/datasets/nuscenes/nusc_common.py
Line 544 in 960115e
The BEV image is loaded from the sdk in your another repo python-sdk/nuscenes/nuscenes.py#L837-L842
But their dimensions are (h,w), such as
ego_map.shape: (900, 900)
,bev.shape: (180, 180)
, sobev.transpose(2, 0, 1)
is wrong operations for this.Hope that can provide clues to solve the problem.
The text was updated successfully, but these errors were encountered: