caffe训练出错:malloc(): memory corruption

时间:2022-10-01 19:26:28

caffe训练网络时出现错误:

*** Aborted at1476722149 (unix time) try "date -d @1476722149" if you areusing GNU date ***

PC: @ 0x7f81a419bed4 caffe::BlobProto::SerializeWithCachedSizesToArray()

*** Error in`/home/zhuangni/code/Multi-Task/caffe-master/build/tools/caffe':malloc(): memory corruption: 0x0000000012972c80 ***

Aborted (coredumped)

caffe训练出错:malloc(): memory corruption

解决办法: 在solver.prototxt中加入 snapshot_format: HDF5

原因: 所保存的文件大小超出设定。