xiangweizeng / darknet2ncnn

Darknet2ncnn converts the darknet model to the ncnn model
Do What The F*ck You Want To Public License
158 stars 56 forks source link

自己训练的weight识别错误 #42

Open Jackyxie1 opened 4 years ago

Jackyxie1 commented 4 years ago

可以将物体识别出来,但是类别识别错了,我替换了您项目中的weights文件和cfg文件,请问还有那里是需要修改的吗?

xiangweizeng commented 4 years ago

需要添加背景类别,类别加1处理了。

------------------ 原始邮件 ------------------ 发件人: "Jackyxie1"<notifications@github.com>; 发送时间: 2020年4月19日(星期天) 晚上9:39 收件人: "xiangweizeng/darknet2ncnn"<darknet2ncnn@noreply.github.com>; 抄送: "Subscribed"<subscribed@noreply.github.com>; 主题: [xiangweizeng/darknet2ncnn] 自己训练的weight识别错误 (#42)

可以将物体识别出来,但是类别识别错了,我替换了您项目中的weights文件和cfg文件,请问还有那里是需要修改的吗?

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

Jackyxie1 commented 4 years ago

我比较小白,请问是要在哪里作背景类别的添加呢,非常非常感谢您的回复

xiangweizeng commented 4 years ago

lable.txt 标签文件, 可以参考example

------------------ 原始邮件 ------------------ 发件人: "Jackyxie1"<notifications@github.com>; 发送时间: 2020年4月19日(星期天) 晚上9:44 收件人: "xiangweizeng/darknet2ncnn"<darknet2ncnn@noreply.github.com>; 抄送: "曾相未"<826127212@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [xiangweizeng/darknet2ncnn] 自己训练的weight识别错误 (#42)

我比较小白,请问是要在哪里作背景类别的添加呢,非常非常感谢您的回复

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

Jackyxie1 commented 4 years ago

成功了!非常非常感谢!大佬太牛了!