|
发表于 2021-6-1 17:24:45
|
显示全部楼层
用您给的代码rknn_transform_416x416.py,以及权重、cfg文件转换yolov3.weights出错
E AttributeError: 'MultiDiGraph' object has no attribute 'node'
done
--> Building model
Traceback (most recent call last):
File "rknn_transform_416x416.py", line 27, in <module>
rknn.build(do_quantization=True, dataset='./dataset_416x416.txt', pre_compile=False)
File "/usr/local/lib/python3.7/dist-packages/rknn/api/rknn.py", line 228, in build
inputs = self.rknn_base.net.get_input_layers()
AttributeError: 'NoneType' object has no attribute 'get_input_layers'
试了转yolov3-tiny ,可以生成yolov3_416x416.rknn |
|