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

A problem about evalution #10

Open
CodeH0922 opened this issue Apr 16, 2024 · 6 comments
Open

A problem about evalution #10

CodeH0922 opened this issue Apr 16, 2024 · 6 comments

Comments

@CodeH0922
Copy link

Excuse me, when I attempt to train or test the model, there is always an error:"AttributeError: 'ConcatDataset' object has no attribute 'evaluate'". So how can I solve this problem?
6f98d05052d3d872995e1e445abc34df

@Zeal24
Copy link

Zeal24 commented May 31, 2024

Have you solved this problem?

@CodeH0922
Copy link
Author

Have you solved this problem?

Yes.

@Zeal24
Copy link

Zeal24 commented May 31, 2024

Have you solved this problem?

Yes.

how do you solve this problem? I need your help,tanks a lot!

@CodeH0922
Copy link
Author

The file to be run is not “test.py”, but “bonai_test.py”. It can be executed if the path is set correctly

Have you solved this problem?

Yes.

how do you solve this problem? I need your help,tanks a lot!

@Zeal24
Copy link

Zeal24 commented May 31, 2024

The file to be run is not “test.py”, but “bonai_test.py”. It can be executed if the path is set correctly

Have you solved this problem?

Yes.

how do you solve this problem? I need your help,tanks a lot!

The file to be run is not “test.py”, but “bonai_test.py”. It can be executed if the path is set correctly

Have you solved this problem?

Yes.

how do you solve this problem? I need your help,tanks a lot!

sorry to bother you. I meet the problem when I train this model, I dont konw where to set the path

@smallpotato000
Copy link

In datasets/dataset_wrappers.py, add evaluate() in class ConcatDataset(_ConcatDataset).
I did this by backporting from mmDetection 2.4.0..
Please note that BONAI is a fork of mmDetection, between 2.3.0 and 2.4.0. Code in this repo is imcomplete, and does not work out of the box. I have got it working by a few quick & dirty fix. Will share my work in about 2~3 weeks, after some clean up.

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

3 participants