ChenYingpeng / caffe-yolov3

A real-time object detection framework of Yolov3/v4 based on caffe
473 stars 231 forks source link

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

Open onnx20 opened 5 years ago

onnx20 commented 5 years ago

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!

JubilantJerry commented 5 years ago

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