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

训练角度有问题,代码有bug #74

Open
superchenyan opened this issue Jul 23, 2024 · 2 comments
Open

训练角度有问题,代码有bug #74

superchenyan opened this issue Jul 23, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@superchenyan
Copy link

bbox_pred[:, -1] = torch.sin(bbox_pred[:, -1].clone()) * torch.cos(batched_bbox_reg[:, -1].clone())
batched_bbox_reg[:, -1] = torch.cos(bbox_pred[:, -1].clone()) * torch.sin(batched_bbox_reg[:, -1].clone())
bbox_dir_cls_pred = bbox_dir_cls_pred[pos_idx]

@superchenyan
Copy link
Author

batched_bbox_reg[:, -1] = torch.cos(bbox_pred[:, -1].clone()) * torch.sin(batched_bbox_reg[:, -1].clone())这行的bbox_pred[:, -1].clone()已经被上面一行修改了

@zhulf0804
Copy link
Owner

batched_bbox_reg[:, -1] = torch.cos(bbox_pred[:, -1].clone()) * torch.sin(batched_bbox_reg[:, -1].clone())这行的bbox_pred[:, -1].clone()已经被上面一行修改了

你好,@superchenyan
是的,这里的确存在问题,和#38 这个问题类似。
欢迎提PR修正和补充实验结果。

祝好!

@zhulf0804 zhulf0804 added the bug Something isn't working label Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants