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

The loss is abnormal when the height and widht of BEV feature is not equal #85

Open
comwireless opened this issue Mar 21, 2023 · 1 comment

Comments

@comwireless
Copy link

Thanks for your error report and we appreciate it a lot.

Checklist

  1. I have searched related issues but cannot get the expected help.
  2. The bug has not been fixed in the latest version.

Describe the bug
A clear and concise description of what the bug is.

Reproduction

  1. What command or script did you run?
A placeholder for the command.
  1. Did you make any modifications on the code or config? Did you understand what you have modified?
  2. What dataset did you use?

Environment

  1. Please run python mmdet3d/utils/collect_env.py to collect necessary environment infomation and paste it here.
  2. You may add addition that may be helpful for locating the problem, such as
    • How you installed PyTorch [e.g., pip, conda, source]
    • Other environment variables that may be related (such as $PATH, $LD_LIBRARY_PATH, $PYTHONPATH, etc.)

Error traceback
If applicable, paste the error trackback here.

A placeholder for trackback.

Bug fix
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!

@comwireless
Copy link
Author

https://github.com/XuyangBai/TransFusion/blob/master/mmdet3d/models/dense_heads/transfusion_head.py#L759, I think the line should be meshgrid = [[0, y_size - 1, y_size], [0, x_size - 1, x_size]]], if the x_size != y_size

@comwireless comwireless changed the title https://github.com/XuyangBai/TransFusion/blob/master/mmdet3d/models/dense_heads/transfusion_head.py#L759, I think the line should be meshgrid = [[0, y_size - 1, y_size], [0, x_size - 1, x_size]]], if the x_size != y_size The loss is abnormal when the height and widht of BEV feature is not equal Mar 21, 2023
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

1 participant