image_class icon indicating copy to clipboard operation
image_class copied to clipboard

用两类图片训练,测试时,一类的准确率为1.0,另一类为0,请问是什么原因?

Open Wangyy-moya opened this issue 5 years ago • 10 comments

训练时,好像只训练了第一类的图片,测试两类的准确度结果如下

image

image

是数据集制作的不正确吗?

Wangyy-moya avatar Aug 13 '20 08:08 Wangyy-moya

我的数据集文件目录 "train dataset folder is:"

/path/female_bag/female_bag*.jpg,

/path/makeup_bag/makeup_bag*.jpg,

" test dataset folder is:"

/path/female_bag/female_bag*.jpg,

/path/makeup_bag/makeup_bag*.jpg,

Wangyy-moya avatar Aug 13 '20 08:08 Wangyy-moya

明天我帮你远程看一下

---原始邮件--- 发件人: "Chen65010445"<[email protected]> 发送时间: 2020年8月14日 21:04:17 收件人: "tslgithub/image_class"<[email protected]>; 抄送: "Subscribed"<[email protected]>; 主题: Re: [tslgithub/image_class] 用两类图片训练,测试时,一类的准确率为1.0,另一类为0,请问是什么原因? (#24)

你好 我也发生了类似的问题 请问解决了吗?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

itismeJH avatar Aug 14 '20 13:08 itismeJH

明天我帮你远程看一下

---原始邮件--- 发件人: "wangyy"<[email protected]> 发送时间: 2020年8月13日 16:43:28 收件人: "tslgithub/image_class"<[email protected]>; 抄送: "Subscribed"<[email protected]>; 主题: Re: [tslgithub/image_class] 用两类图片训练,测试时,一类的准确率为1.0,另一类为0,请问是什么原因? (#24)

我的数据集文件目录 "train dataset folder is:"

/path/female_bag/female_bag*.jpg,

/path/makeup_bag/makeup_bag*.jpg,

" test dataset folder is:"

/path/female_bag/female_bag*.jpg,

/path/makeup_bag/makeup_bag*.jpg,

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

itismeJH avatar Aug 14 '20 13:08 itismeJH

请问解决了吗 是什么原因造成的呢?

Chen65010445 avatar Aug 15 '20 22:08 Chen65010445

问题解决啦吗

tslgithub avatar Aug 18 '20 13:08 tslgithub

问题解决啦吗 还没有解决,这几天在忙别的事,您什么时间有空帮我看下? 是不是类别不均衡的原因呢?我2类的图片数量为4:1

Wangyy-moya avatar Aug 19 '20 07:08 Wangyy-moya

上个问题还没解决,新的问题又出现了

用4类物体做训练,报这个错 image

Wangyy-moya avatar Aug 24 '20 09:08 Wangyy-moya

自我解答: config.py classNumber = 2 # 修改为数据集中对应的类别数 比如 我的是4类: classNumber = 4

Wangyy-moya avatar Aug 25 '20 08:08 Wangyy-moya

请问,问题解决了吗?我觉得也是只训练了一类数据

nsg-git avatar Sep 07 '20 11:09 nsg-git

请问你解决这个问题了吗

douyacai1997 avatar Dec 30 '20 04:12 douyacai1997