1.ModuleNotFoundError: No module named ‘roi_pooling_op’
把’import roi_pooling_op’改成 ‘import roi_pooling_layer.roi_pooling_op’
2.ModuleNotFoundError: No module named ‘generate_anchors’
3.NameError: name ‘basestring’ is not defined
问题解决方法:
https://blog.csdn.net/dlh_sycamore/article/details/84401599
- pre_nms_topN = cfg[cfg_key].RPN_PRE_NMS_TOP_N
KeyError: b’TEST’
把cfg_key = cfg_key.decode('utf-8')
加在pre_nms_topN = cfg[cfg_key].RPN_PRE_NMS_TOP_N
inlib/rpn_msr/proposal_layer_tf
的前面
5.No module named ‘voc_eval’ 改成:import datasets.voc_eval as voc_eval