caffe-yolov3 icon indicating copy to clipboard operation
caffe-yolov3 copied to clipboard

OverflowError: cannot fit 'int' into an index-sized integer

Open onnx20 opened this issue 6 years ago • 1 comments

Hi,I have this problem :

Traceback (most recent call last): File "yolov3_darknet2caffe.py", line 533, in darknet2caffe(cfgfile, weightfile, protofile, caffemodel) File "yolov3_darknet2caffe.py", line 19, in darknet2caffe params = net.params File "/home/oyrq/caffe/python/caffe/pycaffe.py", line 67, in _Net_params self._layer_names, self.layers) File "/home/oyrq/caffe/python/caffe/pycaffe.py", line 68, in if len(lr.blobs) > 0]) OverflowError: cannot fit 'int' into an index-sized integer Segmentation fault (core dumped)

Thanks!

onnx20 avatar Feb 18 '19 09:02 onnx20

I got this error, and this link solved it for me at least:

https://github.com/BVLC/caffe/issues/2437#issuecomment-184984016

TL;DR rebuild your caffe

JubilantJerry avatar Mar 22 '19 21:03 JubilantJerry