Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError: name 'config' is not defined #21

Open
xiaofeng-c opened this issue Aug 22, 2021 · 2 comments
Open

NameError: name 'config' is not defined #21

xiaofeng-c opened this issue Aug 22, 2021 · 2 comments

Comments

@xiaofeng-c
Copy link

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
Copy link
Author

I have solve this question.

@yuanfangshang888
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants