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

网络模型推理时间不一致,同一个网络推理算法,在apollo中运算时间与正常运算时间相比,高了四倍。 #15555

Open
zhangyi-hunter opened this issue Oct 21, 2024 · 0 comments
Labels
Module: Perception Indicates perception related issues

Comments

@zhangyi-hunter
Copy link

我在apollo-master/modules中利用python编写了基于fcos3d的单目3D目标检测模块,并进行了bazel build编译,可以实现将检测结果发送至cyber通道中,其运算代码为:
./bazel-bin/modules/fcos3d/tracking
平均运算时间为500ms每帧。

但在非apollo环境中,相同的运算设备下,直接运行fcos3d的相同的模型检测代码,其时间只需要100ms每帧。
python fcos3d/tracking
请问出现该现象的原因是什么?是apollo会自动分配GPU资源吗?请问如何提高在apollo中模型检测的速度?

@daohu527 daohu527 added the Module: Perception Indicates perception related issues label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Module: Perception Indicates perception related issues
Projects
None yet
Development

No branches or pull requests

2 participants