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

'ConfigDict' object has no attribute 'test_cfg' #4521

Closed
sungatetop opened this issue Jan 23, 2021 · 1 comment
Closed

'ConfigDict' object has no attribute 'test_cfg' #4521

sungatetop opened this issue Jan 23, 2021 · 1 comment
Assignees

Comments

@sungatetop
Copy link

Thanks for your error report and we appreciate it a lot.

Checklist

  1. I have searched related issues but cannot get the expected help.
  2. I have read the FAQ documentation but cannot get the expected help.
  3. I just run the demo https://mmdetection.readthedocs.io/en/latest/1_exist_data_model.html#inference-with-existing-models
@ZwwWayne
Copy link
Collaborator

This is because your config is old. After the recent PR #4347, train_cfg/test_cfg becomes an attribute of model, please see the migration doc.

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