訓練出現“Train dataset for temp stage can not be filled. Branch training terminated ..."解決方法

我的報錯是:
 ===== TRAINING 0-stage =====
 <BEGIN
 POS count : consumed   5000 : 5000
 Train dataset for temp stage can not be filled. Branch training terminated
 Cascade classifier can't be trained. Check the used training parameters.

解決辦法:
 我出現這種錯誤的原因是訓練數據的路徑問題。比如先前路徑是xxx.jpg,改成./neg/xxx.jpg,就ok了!
 Ubuntu可用  ls ./neg/*.* > neg.txt 直接生成。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章