今天执行如下命令发生错误: solver = caffe.SGDSolver('/media/vipsl1/data/Alexnet/solver.prototxt') solver.net.copy_from('/home/vipsl1/models/bvlc_alexnet/caffe_alexnet_model.caffemodel') RuntimeError: maximum recursion depth exceeded while calling a Python object
原因百思不得其解,因为我这个Alexnet 修改了data层,自己写了python 层 我推测是那里的问题,就回头检查,发现是自己的python 层中函数没有对齐 导致。我的函数多了几个缩进。