YOLOv4-pytorch
YOLOv4-pytorch copied to clipboard
# 训练集正负样本
- 如果我想要在VOC格式训练集中加入负样本,请问是直接把负样本图片加入在JPEGImages文件夹下吗,需要生成对应的空白xml文件吗?
https://github.com/argusswift/YOLOv4-pytorch/blob/c508af33ab4a5abb588f67c1e04237abc17af4e2/utils/datasets.py#L79-L92
Yes. You need labels with no object inside. But watch carefully as here's an assert
about empty label, you can't just gen a empty xml
imo.
- 如果我想要在VOC格式训练集中加入负样本,请问是直接把负样本图片加入在JPEGImages文件夹下吗,需要生成对应的空白xml文件吗?
@lilangyi 你好,你把负样本添加进去了吗,你的负样本的xml文件是怎么设计的呢
@jingtianyilong do u have any idea how to add negative sample?