[英]Keras - Image Classification with two classes Tensorflow Python
i want to classify two classes with CNN. 我想用CNN分类两个类别。
So, the question is, how can I realize this? 所以,问题是,我该如何实现呢? I want to have many objects images for the CNN.
我想为CNN提供许多对象图像。 I saw a example with Cat and Dog.. But I have only images for one class.
我看到了猫和狗的例子。但是我只有一个班级的图片。 The other class are the background.
另一类是背景。 It is possible to create a background class??
可以创建一个背景类吗?
I´m very new in CNN.. 我是CNN的新手。
It seems that you're talking about semantic segmentation , where you have a variable N number of classes to localize (in this case N=1) plus the background class. 看来您在谈论语义分割 ,其中有N个要本地化的变量N个类(在本例中为N = 1)以及背景类。 There's a lot of literature and baseline models out there that can help you out.
那里有很多文献和基准模型可以帮助您。 I recommend these two since they're the most popular ones:
我推荐这两个,因为它们是最受欢迎的:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.