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

Change class number #9

Open
Nietram opened this issue Aug 13, 2021 · 1 comment
Open

Change class number #9

Nietram opened this issue Aug 13, 2021 · 1 comment

Comments

@Nietram
Copy link

Nietram commented Aug 13, 2021

Hi, I don't understand really well where you setup the squares and nb of classes.
Is there some needs to change that into the utils.py function?

@Altimis
Copy link
Owner

Altimis commented Aug 13, 2021

You dont have to setup the number of classes. This code is the continuation of the code example presented in the main Mask-RCNN repo. You just compute the predictions for each images, assign each prediction (classe) to its actual ground-truth using two ordered vectors (gt_tot and pred_tot), and classically compute the confusion matrix for the entire dataset. These two vectors will contain in each element the ground-truth classe for each object in the dataset (the vector gt_tot) and the corresponding predicted classe (the vector pred_tot).

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