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

AttributeError: 'ConfigDict' object has no attribute 'log_level' #18

Open
edu66 opened this issue Aug 15, 2022 · 1 comment
Open

AttributeError: 'ConfigDict' object has no attribute 'log_level' #18

edu66 opened this issue Aug 15, 2022 · 1 comment

Comments

@edu66
Copy link

edu66 commented Aug 15, 2022

Hello everyone! I have the mistake
File "tools/train.py", line 189, in
main()
File "tools/train.py", line 133, in main
logger = get_root_logger(log_file=log_file, log_level=cfg.log_level)
File "/opt/conda/envs/ssp/lib/python3.7/site-packages/mmcv/utils/config.py", line 507, in getattr
return getattr(self._cfg_dict, name)
File "/opt/conda/envs/ssp/lib/python3.7/site-packages/mmcv/utils/config.py", line 48, in getattr
raise ex
AttributeError: 'ConfigDict' object has no attribute 'log_level'
please help me!

@MingboHong
Copy link
Owner

Hello everyone! I have the mistake File "tools/train.py", line 189, in main() File "tools/train.py", line 133, in main logger = get_root_logger(log_file=log_file, log_level=cfg.log_level) File "/opt/conda/envs/ssp/lib/python3.7/site-packages/mmcv/utils/config.py", line 507, in getattr return getattr(self._cfg_dict, name) File "/opt/conda/envs/ssp/lib/python3.7/site-packages/mmcv/utils/config.py", line 48, in getattr raise ex AttributeError: 'ConfigDict' object has no attribute 'log_level' please help me!

It looks like the version of mmdetection problems

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