Why image size is not used? Why classes other than 0 are ignored? (gen_anchors) #3
Open
Description
Thanks for the great script. But I could not figure out why the image size is not used? The image is read and the size of it is written to [im_h,im_w] but they are not used. I expected that before
annotation_dims.append(map(float,(w,h)))
w and h are multiplied with them to get unnormalized w and h. Or am I wrong about that anchors are in unnormalized sizes?
Should they be in relative size?
The second question is about ignoring the classes other than that with id=0
if cls_id!=0:
continue
Why this is so?
Thanks
Metadata
Assignees
Labels
No labels