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 741, in rknn.base.RKNNlib.converter.convert_darknet.Converter.load_blobs
E MemoryError
load caffe model failed! 作者: zehao 时间: 2021-6-21 14:31
你这个用的darknet load,为什么最后会报错caffe failed呢作者: jjcz 时间: 2021-11-18 10:39
我的也是这样的报错。请问你解决了吗?
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!