Skip to content

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

Open
@zhangyi-hunter

Description

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions