CaffeModelCompression icon indicating copy to clipboard operation
CaffeModelCompression copied to clipboard

OverflowError: long int too large to convert to int

Open WangLei-UESTC opened this issue 8 years ago • 1 comments

thanks for your code ,but when i run the code ,i got this error: Traceback (most recent call last): File "caffemodel_compress.py", line 96, in caffe_model_compress(netmodel, netweights, output, 6, 2) File "caffemodel_compress.py", line 20, in caffe_model_compress for item in net.params.items(): File "/home/wl/caffe/python/caffe/pycaffe.py", line 68, in _Net_params if len(lr.blobs) > 0]) OverflowError: long int too large to convert to int help me please!

WangLei-UESTC avatar Mar 29 '17 02:03 WangLei-UESTC

see the issue here. https://github.com/BVLC/caffe/issues/2437 .. Works for me.

vidit09 avatar Jun 29 '17 08:06 vidit09