tensorrt
可恶!
这个作者很懒,什么都没留下…
展开
-
Aborted (core dumped) Assertion `Engine.getNbBindings() == 4' failed.
记录一次特别粗心的错误错误代码位置:assert的作用是现计算表达式 expression ,如果其值为假(即为0),那么它先向stderr打印一条出错信息,然后通过调用 abort 来终止程序运行需要 inputname + 3 outputname ,而我只传入2 个outputname修改后: ...原创 2018-10-11 15:41:47 · 2444 阅读 · 1 评论 -
TensorRt - caffe中支持prelu
好久没写博客了,今天就更新一下。我们都知道TensorRT的激活层,支持relu,却不支持prelu。但是总有需要使用prelu层的时候。补充: prelu层 相当于是带参数的relu运行环境: ubuntu16.04+ TenosrRt 4.0.1以上 + cuda 8.0/cuda9.0 + Cudnn 7.1 + opencv3一、下载先去github下载tensorr...原创 2019-03-12 10:23:14 · 2866 阅读 · 21 评论 -
undefined reference to `google::LogMessageFatal::LogMessageFatal(char const*, int)'
在编译时出现如下错误:undefined reference to `google::LogMessageFatal::LogMessageFatal(char const*, int)'undefined reference to `google::LogMessage::stream()'undefined reference to `google::LogMessageFatal:...原创 2019-04-26 10:05:44 · 10518 阅读 · 2 评论 -
error: ‘CENTER_SIZE’ was not declared in this scope
错误代码如下:PluginFactory.h:983:35: error: ‘CENTER_SIZE’ was not declared in this scope params.codeType = CENTER_SIZE;解决方法:在CENTER_SIZE 之前加上域名CodeTypeSSDparams.codeType = CodeTyp...原创 2019-04-26 10:08:38 · 1253 阅读 · 0 评论