Skip to content
This repository has been archived by the owner on Dec 31, 2024. It is now read-only.

Cached_nuscenes_info.pkl file creation #3

Open
abhigoku10 opened this issue Nov 16, 2023 · 5 comments
Open

Cached_nuscenes_info.pkl file creation #3

abhigoku10 opened this issue Nov 16, 2023 · 5 comments

Comments

@abhigoku10
Copy link

@PointsCoder Thanks for sharing the code base, can u please share the script to create the cached_nuscenes_info.pkl files

THanks in advance

@PointsCoder
Copy link
Owner

@abhigoku10 I refer mostly to the cache code in VAD but it is on another codebase. I currently don't have plans to immigrate to this repo.

@abhigoku10
Copy link
Author

@PointsCoder Thanks for the response can u please share the link of VAD which is used to create the cached_nuscenes_info.pkl file

@cherry956
Copy link

cherry956 commented Jan 23, 2024

@PointsCoder I see your code, but I don't understand how to create the cached_nuscenes_info.pkl files, because I need to add some information adout vehicle. can u share the code with me , thanks.

@abhigoku10
Copy link
Author

abhigoku10 commented Jan 24, 2024

@PointsCoder Please find my updated queries

  1. I have followed this link https://github.com/hustvl/VAD to create the data "cached_nuscenes_info.pkl" , but when the file is created there are missing keys in the data ie 'gt_ego_his_diff', 'gt_ego_fut_diff' . Have u added it additionally ??

2.From UNIAD when I create the "detection_motion_result_trainval.json" there is a difference in the content of the data ie shown below
attn_mask:None

command:array([2])

is_sdc:True

nusc_box:label: 0, score: 0.39, xyz: [0.04, -0.04, 0.00], wlh: [1.73, 4.07, 1.55], rot axis: [-0.00, -0.00, -1.00], ang(degrees): -90.01, ang(rad): -1.57, vel: nan, nan, nan, name: None, token: None

past_pred_traj:None

pred_center:[0, 0, -0.41999999999999993]

pred_dim:array([1.7324345, 4.0702405, 1.5549785], dtype=float32)

pred_label:0

pred_occ_map:None

pred_score:0.39475283

pred_track_id:-1

pred_traj:array([[ 0.06253336, 3.4623034 ], [ 0.15860406, 6.559455 ], [ 0.2630881 , 9.370248 ], [ 0.36474904, 11.905737 ], [ 0.4004062 , 14.156303 ], [ 0.30280203, 16.245867 ]], dtype=float32)

pred_traj_max:array([[ 0.06253336, 3.4623034 ], [ 0.15860406, 6.559455 ], [ 0.2630881 , 9.370248 ], [ 0.36474904, 11.905737 ], [ 0.4004062 , 14.156303 ], [ 0.30280203, 16.245867 ]], dtype=float32)

pred_traj_score:1

pred_vel:array([0.04977103, 6.916191 ], dtype=float32)

pred_yaw:-4.7122004787114005
has context menu

is this correct ?? How did u generate the file

@PointsCoder
Copy link
Owner

@abhigoku10 @cherry956
nuScenes data caching should be here if I recalled correctly.

For customized caching, please play with it yourself.

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

No branches or pull requests

3 participants