Ouch, can’t help you with caffe. But on the line where it crashes, it does say enforce_equal which is like a python assert I’m guessing. Try printing those two values beforehand to see what the values are and maybe that helps you