https://blog.csdn.net/xingzhou1212/article/details/78655129/
错误:Could not convert handle to pointer due to invalid init_key. The object might have been cleared.
报错原因: 旧一点版本的caffe的matlab接口中的函数Net.m源程序有bug。
解决方案:切换到caffe/matlab/+caffe/Net.m
将 if ~isempty(self.hNet_self)修改为:
if self.isvalid