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

训练时关于attention.py中的nms_crop计算时间很长 #3

Open
wlk788 opened this issue Dec 18, 2023 · 2 comments
Open

训练时关于attention.py中的nms_crop计算时间很长 #3

wlk788 opened this issue Dec 18, 2023 · 2 comments

Comments

@wlk788
Copy link

wlk788 commented Dec 18, 2023

您好,感谢您的工作!我在训练的时候发现GPU利用率只有20-40%,然后调试时我发现nms_crop这个模块的计算时间很长,在2080ti下几乎要花费1s的时间,请问这是正常的吗?

@zhao1f
Copy link
Member

zhao1f commented Dec 21, 2023

您好,感谢您对我们工作的支持。这一部分模块可能会占用比较大的CPU线程消耗,在CPU计算量不足的情况下,每次迭代的part搜索会导致速度变慢。由于当时使用服务器进行计算,并未发现明显速度影响。您可以尝试调整部件个数来极大缩短计算时间。:)

@wlk788
Copy link
Author

wlk788 commented Dec 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

2 participants