|
在模型进行量化的时,报错如下,可能是什么原因呢?
(rknn_win_env) E:\usb_test\example\yolov3\yolov3_demo>python rknn_transform_320x320.py
--> Loading model
E Catch exception when loading darknet model: ./yolov3_320x320.cfg!
E Traceback (most recent call last):
E File "rknn\api\rknn_base.py", line 552, 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'
done
--> Building model
Traceback (most recent call last):
File "rknn_transform_320x320.py", line 28, in <module>
rknn.build(do_quantization=False)
File "E:\usb_test\example\rknn_win_env\lib\site-packages\rknn\api\rknn.py", line 222, in build
inputs = self.rknn_base.net.get_input_layers()
AttributeError: 'NoneType' object has no attribute 'get_input_layers' |
|