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

Performance degradation based on maptr #29

Open
charmerfuerl opened this issue Jul 16, 2024 · 10 comments
Open

Performance degradation based on maptr #29

charmerfuerl opened this issue Jul 16, 2024 · 10 comments

Comments

@charmerfuerl
Copy link

Thanks for your great work! In terms of the single frame prediction, i think the code difference between maptr and streammapnet should be the remove of point queries and the multipoint attention, is there any other difference between them? Are the pre-process and post-process the same with maptr? I directly changed the code based on the maptrv2 code but found a huge performance degradation(almost 20% degradation).

@yuantianyuan01
Copy link
Owner

Hi, thanks for your interest in our project.

We use a different BEV coordinate system, which may be the root of the performance gap you encountered. Specifically, please check the coordinate reversion in bev encoder and the one in attention layer.

@charmerfuerl
Copy link
Author

Hi, thanks for your interest in our project.

We use a different BEV coordinate system, which may be the root of the performance gap you encountered. Specifically, please check the coordinate reversion in bev encoder and the one in attention layer.

Hi,
Thank you for your reply, i tried not to change the bev encoder, but also to cancel the coordinate reversion in attention layer, but still got a huge performance gap, is the reversion in bev encoder and attention layer necessary?

@yuantianyuan01
Copy link
Owner

yuantianyuan01 commented Jul 20, 2024

Other places may also be affected by the reversed y-axis, for example the temporal BEV fusion: https://github.com/yuantianyuan01/StreamMapNet/blob/main/plugin/models/mapers/StreamMapNet.py#L66.

@charmerfuerl
Copy link
Author

Thank you so much! i have got the correct map. But when i changed the head embed_dims from 512 to 256, just like the maptr, the MAP decreased by 6%, so can i think it as one of the key points of the streammap method?

@yuantianyuan01
Copy link
Owner

That's very interesting and beyond my expectation. Which config file did you use btw?

@charmerfuerl
Copy link
Author

That's very interesting and beyond my expectation. Which config file did you use btw?
I realized the single-frame streammap based on maptrv2, https://github.com/hustvl/MapTR. Based on the NuScenes oldsplit, the map was up to 61%, but when i changed the embed_dims from 512 to 256, without any other changes, the map was 54%.

@charmerfuerl
Copy link
Author

That's very interesting and beyond my expectation. Which config file did you use btw?

I realized the single-frame streammap based on maptrv2, https://github.com/hustvl/MapTR. Based on the NuScenes oldsplit, the map was up to 61%, but when i changed the embed_dims from 512 to 256, without any other changes, the map was 54%.

@Cxb0219
Copy link

Cxb0219 commented Jul 24, 2024

That's very interesting and beyond my expectation. Which config file did you use btw?

I realized the single-frame streammap based on maptrv2, https://github.com/hustvl/MapTR. Based on the NuScenes oldsplit, the map was up to 61%, but when i changed the embed_dims from 512 to 256, without any other changes, the map was 54%.

Hello, I am also trying to implement Maptr-based streammmap recently, but I encountered some problems in the configuration process. Could you please give me some guidance?

@charmerfuerl
Copy link
Author

That's very interesting and beyond my expectation. Which config file did you use btw?

I realized the single-frame streammap based on maptrv2, https://github.com/hustvl/MapTR. Based on the NuScenes oldsplit, the map was up to 61%, but when i changed the embed_dims from 512 to 256, without any other changes, the map was 54%.

Hello, I am also trying to implement Maptr-based streammmap recently, but I encountered some problems in the configuration process. Could you please give me some guidance?

Of course, how can i help you?

@SISTMrL
Copy link

SISTMrL commented Sep 29, 2024

That's very interesting and beyond my expectation. Which config file did you use btw?

I realized the single-frame streammap based on maptrv2, https://github.com/hustvl/MapTR. Based on the NuScenes oldsplit, the map was up to 61%, but when i changed the embed_dims from 512 to 256, without any other changes, the map was 54%.

Hello, I am also trying to implement Maptr-based streammmap recently, but I encountered some problems in the configuration process. Could you please give me some guidance?

Of course, how can i help you?

hello, recently, i also releaize the streamapnet based on maptrv2, this is my wechat 15256956711, i want to ask some questions for you, thanks very much

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

4 participants