Tianxiaomo / pytorch-YOLOv4

PyTorch ,ONNX and TensorRT implementation of YOLOv4
Apache License 2.0
4.47k stars 1.49k forks source link

Convert darknet labels to yolov4 labels #491

Open zrion opened 2 years ago

zrion commented 2 years ago

Hi,

I have recently moved to YOLOv4 python cause of expansion needs. Previously in darknet, each image file has a .txt file for the label, and a .txt file that contains all the image path. Is there a convenient way to convert those labels to those who can be used for this implementation? Thanks.