|
发表于 2021-11-18 10:39:31
只看该作者
板凳
我的也是这样的报错。请问你解决了吗?
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 601, in rknn.api.rknn_base.RKNNBase.load_darknet
E File "rknn/base/RKNNlib/converter/convert_darknet.py", line 754, in rknn.base.RKNNlib.converter.convert_darknet.Converter.load_blobs
E File "rknn/base/RKNNlib/converter/convert_darknet.py", line 452, in rknn.base.RKNNlib.converter.convert_darknet.Convolution_Blob_Assign.assign
E File "/home/wenjing/venv/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 292, in reshape
E return _wrapfunc(a, 'reshape', newshape, order=order)
E File "/home/wenjing/venv/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 56, in _wrapfunc
E return getattr(obj, method)(*args, **kwds)
E ValueError: cannot reshape array of size 897435 into shape (512,256,3,3)
load caffe model failed!
|
|