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

Support on nuScenes and custom dataset #39

Open
RnRi opened this issue Mar 8, 2023 · 2 comments
Open

Support on nuScenes and custom dataset #39

RnRi opened this issue Mar 8, 2023 · 2 comments

Comments

@RnRi
Copy link

RnRi commented Mar 8, 2023

Hi, I'm wondering how to modify the dataloader to support nuScenes or custom dataset for training and Inference?

Thanks in advance.

@zhulf0804
Copy link
Owner

Hello @RnRi, I think the key to support other datasets is to write a dataset class to return the necessary information (point cloud, bboxes, classes, etc.), such as the following dictionary in kitti.py.

data_dict = {
            'pts': pts,
            'gt_bboxes_3d': gt_bboxes_3d,
            'gt_labels': np.array(gt_labels), 
            'gt_names': annos_name,
            'difficulty': annos_info['difficulty'],
            'image_info': image_info,
            'calib_info': calib_info
        }

Best.

@jonasdieker
Copy link

@RnRi Did you end up using NuScenes and did you train successfully? I have the data loading part working (and have verified it by visualising loaded frames), but I seem to not be able to overfit on a single training example, which must be due to ill define parameters.

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

3 participants