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

how to train model by using my data #6

Open
wang-kangkang opened this issue Dec 9, 2024 · 3 comments
Open

how to train model by using my data #6

wang-kangkang opened this issue Dec 9, 2024 · 3 comments

Comments

@wang-kangkang
Copy link

Can you write a tutorial on how to organize my data? I want to add my data to the training, but I don't know how to do it

@flymin
Copy link
Owner

flymin commented Dec 9, 2024

Our current implementation relies heavily on the nuScenes format. You can refer to the readme for the data format.

To use other data, our solution is to transfer the format and organize it like nuScenes. Otherwise, it may not be trivial to reuse the dataloader.

@wang-kangkang
Copy link
Author

Our current implementation relies heavily on the nuScenes format. You can refer to the readme for the data format.

To use other data, our solution is to transfer the format and organize it like nuScenes. Otherwise, it may not be trivial to reuse the dataloader.

Can you explain how MagicDrive organizes labels? I think the prepare_data script has modifying the original label format of nuscenes. If I can quickly understand the label format of magicdrive with your help, I think I can train my data faster

@flymin
Copy link
Owner

flymin commented Dec 9, 2024

There are too many details to cover. Please understand that I cannot type all of them here. Another resource you can use is the pre-processed metadata (pkl files from mmdet). However, the original format is still needed, especially for the BEV maps.

You may also run the inference code and check the model inputs from this line.

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

2 participants