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

tensorrt推理yolov5-v2模型,无法预测出结果 #82

Closed
FanZhang91 opened this issue Nov 18, 2020 · 8 comments
Closed

tensorrt推理yolov5-v2模型,无法预测出结果 #82

FanZhang91 opened this issue Nov 18, 2020 · 8 comments
Labels

Comments

@FanZhang91
Copy link

No description provided.

@FanZhang91 FanZhang91 changed the title tensorrt推理yolov5-v2模型,无法预测不出结果 tensorrt推理yolov5-v2模型,无法预测出结果 Nov 18, 2020
@FanZhang91
Copy link
Author

@enazoe 把“hardswish”改成“leaky”之后问题得到解决,棒棒的

@enazoe enazoe pinned this issue Dec 14, 2020
@enazoe enazoe added the solved label Dec 14, 2020
@alicera
Copy link

alicera commented Dec 14, 2020

请问有不用DLA 的方法去转INT8 吗?
我用一般方式去转 无法预测出结果

@enazoe
Copy link
Owner

enazoe commented Dec 14, 2020

请问有不用DLA 的方法去转INT8 吗?
我用一般方式去转 无法预测出结果

int8和dla没关系,你没结果也和dla没关系

@zzcqinag
Copy link

请问下,改成“leaky”之后还是出不来结果是什么原因呢?自己重新编译,engine重新生成的,python可以出结果
转之后的cfg:
[net]
width=640
height=640
channels=3
nc=1
depth_multiple=0.33
width_multiple=0.5
anchors=10, 13, 16, 30, 33, 23, 30, 61, 62, 45, 59, 119, 116, 90, 156, 198, 373, 326
是还有其他的地方要改吗?非常感谢

@enazoe
Copy link
Owner

enazoe commented Dec 14, 2020

请问下,改成“leaky”之后还是出不来结果是什么原因呢?自己重新编译,engine重新生成的,python可以出结果
转之后的cfg:
[net]
width=640
height=640
channels=3
nc=1
depth_multiple=0.33
width_multiple=0.5
anchors=10, 13, 16, 30, 33, 23, 30, 61, 62, 45, 59, 119, 116, 90, 156, 198, 373, 326
是还有其他的地方要改吗?非常感谢

正常情况改完就没问题了,再不行我就不知道了,用我提供的2.0模型试吧

@zzcqinag
Copy link

就是用的2.0模型,是不是网络输入的尺寸不对? @enazoe

@enazoe
Copy link
Owner

enazoe commented Dec 14, 2020

@zzcqinag 你看对不对啊,肯定要改成你自己的啊,再不行看看检测阈值,把阈值调下去,你直接在群里说吧,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants