现在的位置: 首页 > 综合 > 正文

Traincascade Error: Bad argument (Can not get new positive sample. The most possible reason is insuf

2017年11月11日 ⁄ 综合 ⁄ 共 251字 ⁄ 字号 评论关闭

级联分类器训练时,到某个级数时报错:

Traincascade Error: Bad argument (Can not get
new positive sample. Themost possible reason is insufficient count of samples in given vec-file.

解析:设置的numPos过大,由于训练时POS count 会从你设置的numPos增大,每一级都按一定的次序增大,后来可能会超过样本库中正样本的个数,就会报这个错误。

将命令行中的numPos改小一些,即可接着现有的层级训练

抱歉!评论已关闭.