Convolutional Neural Networks with Caffe and NEGATIVE IMAGES

一个人想着一个人 提交于 2019-12-12 00:26:43

问题


When training a set of classes (let's say #clases (number of classes) = N) on Caffe Deep Learning (or any CNN framework) and I make a query to the caffemodel, I get a % of probability of that image could be OK.

So, let's take a picture of a similar Class 1, and I get the result:

1.- 90%

2.- 10%

rest... 0%

the problem is: when I take a random picture (for example of my environment), I keep getting the same result, where one of the class is predominant (>90% probability) but it doesn't belong to any class.

So what I'd like to hear is opinions/answers from people which has experienced this and would have solved how to deal with no-sense inputs to the Neural Network.

My purposes are:

  1. Train one more extra class with negative images (like with train_cascade).
  2. Train one more class extra with all the positive images in the TRAIN set, and the negative on the VAL set.

But my purposes don't have any scientific base to execute them, that's why I ask you this question.

What would you do?

Thank you very much in advance.

Rafael.

来源:https://stackoverflow.com/questions/31288156/convolutional-neural-networks-with-caffe-and-negative-images

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!