Toybrick

标题: rknn.load_darknet()报错 [打印本页]

作者: Luhaibin    时间: 2020-9-13 16:06
标题: rknn.load_darknet()报错
加载darknet模型时报错,跑的是官方的rknn-toolkit-V1.3.0/examples/darknet/yolov3/test.py
大大们,请问这个要怎么解决?


examples/darknet/yolov3$ python3 test.py
yolov3.weight exist.
--> Loading model
E Catch exception when loading darknet model: ./yolov3.cfg!
E Traceback (most recent call last):
E   File "rknn/api/rknn_base.py", line 508, in rknn.api.rknn_base.RKNNBase.load_darknet
E   File "rknn/base/RKNNlib/converter/convert_darknet.py", line 544, in rknn.base.RKNNlib.converter.convert_darknet.Converter.build_graph
E   File "rknn/base/RKNNlib/converter/convert_darknet.py", line 37, in rknn.base.RKNNlib.converter.convert_darknet.darknet_shape_engine.shape_inference
E AttributeError: 'MultiDiGraph' object has no attribute 'node'
load caffe model failed!



作者: Cuttlefish    时间: 2020-12-2 16:12
你好,请问你解决了吗,我也遇到了同样的问题。我是v1.4.1




欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3