测试中借鉴的博客:
https://www.cnblogs.com/byteHuang/p/6828519.html
https://blog.csdn.net/jiao_mrswang/article/details/81180632
Could not convert handle to pointer due to invalid init_key. The object might have been cleared.
在matlab中出现如此警告,解决方法是
错误: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