Peterisfar / YOLOV3

yolov3 by pytorch
MIT License
195 stars 53 forks source link

About utils/datasets.py #30

Closed GesilaA closed 3 years ago

GesilaA commented 4 years ago

line111: for i in range(3): line112: label[i][..., 5] = 1.0

Why set the conf of map pixels to 1.0? It means all pixels contains obj?

Peterisfar commented 3 years ago

line111: for i in range(3): line112: label[i][..., 5] = 1.0

Why set the conf of map pixels to 1.0? It means all pixels contains obj?

label[i][..., 5] is mixup weight,default is 1.0