WongKinYiu / ScaledYOLOv4

Scaled-YOLOv4: Scaling Cross Stage Partial Network
GNU General Public License v3.0
2.01k stars 570 forks source link

label.txt can not be blank #175

Open CVUsers opened 3 years ago

CVUsers commented 3 years ago

作者你好,使用scaled yolov4 还可以像V5 一样 将背景类别,无标签的空图片,放到训练中吗,检测标签的时候报了这个 assert labrels >5 错误, Hello author, using scaled yolov4

Can you still put the background category and the empty picture without label into the training just like in V5? When you detect the label, you report the error of assert labels > 5,

WongKinYiu commented 3 years ago

我沒注意v5的模式, 不過您可能可以替換掉dataset.py達到您要的功能.