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: 'ConcatDataset' object has no attribute 'img_norm_cfg' #40

Closed
ZSX2018 opened this issue Sep 3, 2021 · 0 comments
Closed

Comments

@ZSX2018
Copy link

ZSX2018 commented Sep 3, 2021

when i run test.py, there is an error:
File "tools/test.py", line 211, in
main()
File "tools/test.py", line 181, in main
outputs = single_gpu_test(model, data_loader, args.show, args.log_dir)
File "tools/test.py", line 39, in single_gpu_test
model.module.show_result(data, result, dataset.img_norm_cfg, dataset='DOTA1_5')
AttributeError: 'ConcatDataset' object has no attribute 'img_norm_cfg'

How can I solve this problem?

@ZSX2018 ZSX2018 closed this as completed Sep 6, 2021
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

1 participant