NELSON RODRIGUEZ
NELSON RODRIGUEZ

Reputation: 369

TensorFlow False Detection

I have trained TensorFlow model with 200 car images, they can success detection:

enter image description here

But, when there is no car in the image, a false car detection occurs, why?, how i can prevent this?:

enter image description here

Upvotes: 0

Views: 117

Answers (1)

Abhi25t
Abhi25t

Reputation: 4653

Your model needs to be trained with negative examples (i.e. images without any cars in them). It needs to understand that it is possible that an image doesn't have any car.

Further, it looks like the model has understood some unrelated features as car features. E.g.: the parking lot area. To avoid this use random erasing augmentation while training model.

Random erasing -Inspired by the mechanisms of dropout regularization, random erasing can be seen as analogous to dropout except in the input data space rather than embedded into the network architecture. By removing certain input patches, the model is forced to find other descriptive characteristics.

Upvotes: 2

Related Questions