Open 15114842111 opened 2 years ago
AFAIK, YOLO format is different from COCO-format.
Data folder in YOLO-format has following structure:
dataset
images
train
1.jpg
2.jpg
val
3.jpg
4.jpg
labels
train
1.txt
2.txt
val
3.txt
4.txt
train.txt
val.txt
Txt-file in labels
may contain multiple lines, each line represent a bounding-box
<class_id> <bbox_x_center> <bbox_y_center> <bbox_width> <bbox_height>
And train.txt
and val.txt
has recorded the paths of images
train.txt
./images/train/1.jpg
./images/train/2.jpg
val.txt
./images/val/3.jpg
./images/val/4.jpg
Is MSCOCO dataset diffrent from coco dataset in this code? If I just download coco dataset,can I run this code either? And how to make my custom dataset? I have one test dataset(all png), one train dataset (all png), one test_annotation.json and one train annotation.