Closed henbucuoshanghai closed 3 years ago
E/tnn: GetOutputMat [File /home/TNN-master/source/tnn/core/instance.cc][Line 250] instance dont have the output with name: 413 0 E/tnn: GetOutputMat [File /home/TNN-master/source/tnn/core/instance.cc][Line 250] instance dont have the output with name: 431 0 Segmentation fault (core dumped)
onnx的输出是1252006 因为1类+5=6 故这是对的 请问tnn的输出难道不是如此吗? layers是做什么的?我网络结构什么的统统没改,请问怎么修改layers? 他 是做什么的? 多谢多谢!!
1252006
你好 按照操作修改,无法export出模型 报错维度对不上。。
Fusing layers...
Model Summary: 224 layers, 7053910 parameters, 0 gradients
Traceback (most recent call last):
File "export.py", line 190, in
使用v3版本试,最新版本未测试。
感谢 但是v5训练的模型 v3能行吗?结构 某些层什么的改变了吗?
yolov5的v3版本,就是转换说明使用的版本。v5能不能用v3的就不知道了,只用过v3版本。
Namespace(batch_size=1, img_size=[640, 640], weights='./last.pt')
Traceback (most recent call last):
File "export.py", line 29, in
load model error.
你好我 根据安卓demo的cpp代码,只扣出调用tnn,测试图片的代码,在本机运行成功。
我自己训练一个模型,只修改为一类,别的默认官方的,请问为何提示无法调用。模型输出不对吗?