【深度学习mmdetection错误】——mmdetection 运行报错KeyError:‘ConvWS is already registered in conv layer‘

于是修改以下mmdetection的安装文件:
site-packages/mmdet-2.1.0+unknown-py3.7-linux-x86_64.egg/mmdet/ops/conv_ws.py"

@CONV_LAYERS.register_module('ConvWS')

修改为:
@CONV_LAYERS.register_module(name='ConvWS', force=True)
 

你可能感兴趣的:(Python,bug,修复,深度学习,error)