Open ArdrieuxPan opened 1 year ago
Me too. Check it please!
Thanks for your comment. The variable info should be defined as
info = {
'lidar_path': lidar_path,
'token': sample['token'],
'prev': sample['prev'],
'next': sample['next'],
'can_bus': can_bus,
'frame_idx': frame_idx, # temporal related info
'sweeps': [],
'cams': dict(),
'scene_token': sample['scene_token'], # temporal related info
'scene_name': scene_name,
'lidar2ego_translation': cs_record['translation'],
'lidar2ego_rotation': cs_record['rotation'],
'ego2global_translation': pose_record['translation'],
'ego2global_rotation': pose_record['rotation'],
'timestamp': sample['timestamp'],
}
Environment
docker container, with image
sudo nvidia-docker run -it -p 7600:7600 -p 8022:22 --name="occnet" -v /home/apan/occnet_ws:/home/occnet_ws -it pytorch/pytorch:1.10.0-cuda11.3-cudnn8-devel /bin/bash
, python==3.7Problem
when doing step '2.Prepared nuScenes 3D detection data' with
create_data.py
, there would be a KeyError:I shift the console to path
/home/occnet_ws/OccNet
,while the file organized as follow:then I found 'lidar2ego_rotation' in
nuscene_converter.py
line 237, there is no declaration about this key:`
`