"OverflowError: long int too large to convert to int " in Caffe Net_params

return OrderedDict([(name, lr.blobs)
for name, lr in zip(self._layer_names, self.layers)
 if len(lr.blobs) > 0])
OverflowError: long int too large to convert to int

解决方案:
修改了caffe的源码之后,没有重新编译,需要
make clean;(很重要
make;
make pycaffe;

猜你喜欢

转载自blog.csdn.net/zhuquanfu/article/details/104003469