easy_detection icon indicating copy to clipboard operation
easy_detection copied to clipboard

NameError: name 'config' is not defined

Open xiaofeng-c opened this issue 4 years ago • 2 comments
trafficstars

Thanks for your work.When i run with the command "python inference.py --config configs/faster_rcnn_voc.yml" a problem occur as follow: Traceback (most recent call last): File "inference.py", line 45, in Model = get_model(config.MODEL.NAME) NameError: name 'config' is not defined i want to know if the inference.py is complete?or what should i do?

xiaofeng-c avatar Aug 22 '21 08:08 xiaofeng-c

I have solve this question.

xiaofeng-c avatar Aug 22 '21 08:08 xiaofeng-c

请问你怎么解决的这个问题?我也遇到了很相似的问题,能不能分享一下你解决的方法呢?谢谢啦,我出现的问题是AttributeError: 'Option' object has no attribute 'DATA'

yuanfangshang888 avatar Nov 19 '23 08:11 yuanfangshang888