caffe mobilenet-ssd测试demo.py报错Check failed: tar… – Python量化投资

caffe mobilenet-ssd测试demo.py报错Check failed: tar…

原因:

original Caffe 

It looks like that Batchnorm layer and adjacent Scale layer are 

integrated in single Batchnorm layer in NVIDIA caffe. However original 

BVLC/caffe doesn’t integrate them. That means any networks and 

pretrained models using batchnorm and scale layers with original Caffe 

cannot use in NVIDIA caffe and DIGITS.

即:

包含:Batchnorm层和adjacent Scale层分开的; 

NVIDIA Caffe/DIGITS包含:Batchnorm层和adjacent Scale层合并在一个BN层中; 

所以在预测过程中不能使用NVIDIA Caffe,也就是GPU。


解决方法:修改deploy.prototxt


左边为修改前,右边为修改后
https://www.jianshu.com/p/b89dcefebbeb

「点点赞赏,手留余香」

    还没有人赞赏,快来当第一个赞赏的人吧!
0 条回复 A 作者 M 管理员
    所有的伟大,都源于一个勇敢的开始!
欢迎您,新朋友,感谢参与互动!欢迎您 {{author}},您在本站有{{commentsCount}}条评论