0
$\begingroup$

I have a dataset of 20k images of infected mango. I have built a web-based app using Flask, where a user can upload a picture, and my CNN model detects the disease. I have 6 classes in the model, which correspond to 6 types of diseases.

My question is: how do I train the model so that, if a user uploads any picture except infected mango, the model will show "not mango"?

$\endgroup$
3
  • $\begingroup$ Do you mean exactly "if an user uploads any picture except an infected mango" or "if an user uploads any picture except a mango"? $\endgroup$
    – NikoNyrh
    May 25, 2021 at 12:13
  • $\begingroup$ "any picture except a mango" @NikoNyrh $\endgroup$
    – Tahmeed
    May 31, 2021 at 11:49
  • $\begingroup$ We had similar questions in the past. You can check them here, here, here and here. $\endgroup$
    – nbro
    Jun 4, 2021 at 11:48

0

You must log in to answer this question.