image_class
image_class copied to clipboard
用两类图片训练,测试时,一类的准确率为1.0,另一类为0,请问是什么原因?
训练时,好像只训练了第一类的图片,测试两类的准确度结果如下


是数据集制作的不正确吗?
我的数据集文件目录 "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,
明天我帮你远程看一下
---原始邮件--- 发件人: "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.
明天我帮你远程看一下
---原始邮件--- 发件人: "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.
请问解决了吗 是什么原因造成的呢?
问题解决啦吗
问题解决啦吗 还没有解决,这几天在忙别的事,您什么时间有空帮我看下? 是不是类别不均衡的原因呢?我2类的图片数量为4:1
上个问题还没解决,新的问题又出现了
用4类物体做训练,报这个错

自我解答: config.py classNumber = 2 # 修改为数据集中对应的类别数 比如 我的是4类: classNumber = 4
请问,问题解决了吗?我觉得也是只训练了一类数据
请问你解决这个问题了吗