Code Monkey home page Code Monkey logo

Comments (18)

linxuewu avatar linxuewu commented on September 4, 2024

Our code does not rely much on mmdet3d, mainly the box3d structure, but the structure of mmdet3d has not been modified for a long time, so the latest version of mmdet3d is also supported.
You can try the inference test first. If the metrics are consistent with the published ones, it means that there is no problem.

from sparse4d.

Jingwei-Jiang avatar Jingwei-Jiang commented on September 4, 2024

Thank you. By the way, where is the file "nuscenes_infos_trainval_with_inds.pkl" used? I can't find another usage except for README.md.

from sparse4d.

linxuewu avatar linxuewu commented on September 4, 2024

This is for multi-object tracking task, but we haven't released the tracking code yet.

from sparse4d.

BaoWentz avatar BaoWentz commented on September 4, 2024

This is for multi-object tracking task, but we haven't released the tracking code yet.

Thanks for your awesome job! Do you have any release plan about tracking task?

from sparse4d.

linxuewu avatar linxuewu commented on September 4, 2024

Currently there are no plans.

from sparse4d.

LHY-HongyangLi avatar LHY-HongyangLi commented on September 4, 2024

@linxuewu , Hello, what is the purpose of switching L and W at: https://github.com/linxuewu/Sparse4D/blob/main/projects/mmdet3d_plugin/datasets/nuscenes_3d_det_track_dataset.py#L948

from sparse4d.

linxuewu avatar linxuewu commented on September 4, 2024

Because the order defined by mmdet3d is different from that of nuscenes.
https://github.com/open-mmlab/mmdetection3d/blob/master/tools/data_converter/nuscenes_converter.py#L256

from sparse4d.

LHY-HongyangLi avatar LHY-HongyangLi commented on September 4, 2024

But in mmdet3d==0.17.2, there is no such switching
https://github.com/open-mmlab/mmdetection3d/blob/v0.17.2/tools/data_converter/nuscenes_converter.py#L253

So this means that, you preprocess the nuscenes dataset through the latest mmdet3d but train/evaluate the method in mmdet3d==0.17.2 ?

from sparse4d.

linxuewu avatar linxuewu commented on September 4, 2024

It seems so. I didn't pay attention to the mmdet3d version used for data processing before...

from sparse4d.

linxuewu avatar linxuewu commented on September 4, 2024

However, training and evaluation do not rely too much on mmdet3d, so version misalignment will not cause other bugs.

from sparse4d.

LHY-HongyangLi avatar LHY-HongyangLi commented on September 4, 2024

It seems that the ground truth of rotation is also different in different mmdet3d versions. So the mAOE seems to be affected too.

from sparse4d.

linxuewu avatar linxuewu commented on September 4, 2024

This should be the cause of your mAOE problem, just use the new version of mmdet3d for data preprocess.

from sparse4d.

linxuewu avatar linxuewu commented on September 4, 2024

Or directly use the pkl file I provided. https://github.com/linxuewu/Sparse4D/releases/download/v0.0/nuscenes_infos_trainval_with_inds.pkl

from sparse4d.

LHY-HongyangLi avatar LHY-HongyangLi commented on September 4, 2024

OK, but how to use this pkl file? Simply replace "nuscenes_infos_val.pkl" with "nuscenes_infos_trainval_with_inds.pkl" in the config file as shown in the following ?

data = dict(
    samples_per_gpu=1,
    workers_per_gpu=4,
    train=dict(
        **data_basic_config,
        ann_file=anno_root + 'nuscenes_infos_train.pkl',
        pipeline=train_pipeline,
        test_mode=False,
    ),
    val=dict(
        **data_basic_config,
        ann_file=anno_root + 'nuscenes_infos_val.pkl',
        pipeline=test_pipeline,
        test_mode=True,
    ),
    test=dict(
        **data_basic_config,
        ann_file=anno_root + 'nuscenes_infos_val.pkl',
        pipeline=test_pipeline,
        test_mode=True,
    ),
)

from sparse4d.

linxuewu avatar linxuewu commented on September 4, 2024

This is the union of the training set and the validation set, prepared for test-model training. You can split it with nuscenes.utils.split.

from sparse4d.

linxuewu avatar linxuewu commented on September 4, 2024

https://github.com/linxuewu/Sparse4D/releases/download/v0.0/nuscenes_infos_train.pkl
If you only want to use train-set, use this pkl.

from sparse4d.

LHY-HongyangLi avatar LHY-HongyangLi commented on September 4, 2024

https://github.com/linxuewu/Sparse4D/releases/download/v0.0/nuscenes_infos_train.pkl
If you only want to use train-set, use this pkl.

Thank you for your attention. But it seems not elegant, I will submit a PR to fix the misalignment of the version of mmdetection3d in preprocessing data and training/evaluation in code.

from sparse4d.

LHY-HongyangLi avatar LHY-HongyangLi commented on September 4, 2024

I have submitted the PR. The problem mainly lies in your modification of "output_to_nusc_box" to fit the misalignment when you are conducting experiments with mmdet3d==0.17.2 but with the dataset preprocessed by mmdet3d>1.0.0.

#10 (comment)

from sparse4d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.