报错这个问题:KeyError: 'max_overlaps'
解决方法:删除py-faster-rcnn/data/VOCdevkit2007/annotations_cache   
annotations_cache 这个文件夹
删除 py-faster-rcnn/data/cache
 
cache 这个文件夹
 

测试时报错:Cannot copy param 0 weights from layer 'cls_score'; shape mismatch.  
Source param shape is 11 4096 (86016); target param shape is 19 4096 
(12288). To learn this layer's parameters from scratch rather than 

copying from a saved net, rename the layer.

把text.prototxt中的cls_score改为cls_score1

 

问题:模型训练完测试模型正常,跑测试集结果MAP是0.00。

解决:训练数据的XML文件中,目标物体标签是大写,需要转换成小写。

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐