Tianxiaomo / pytorch-YOLOv4

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

operands could not be broadcast together with shapes(255,32,30)(255,32,2) #411

Open njuhang opened 3 years ago

njuhang commented 3 years ago

在进行evaluate的时候,执行boxes[...,2:] = boxes[...,2:] - boxes[...,:2]时遇到这个问题 When evaluating, I encountered this problem when executing ‘boxes[...,2:] = boxes[...,2:]-boxes[...,:2]’

guangminglftg commented 2 years ago

hi i just encountered the same question, have you solved it?

TigerandRosa commented 2 years ago

i also encountered this problem, and i don't know how to solve it. have you solved it? by the way, my AP and AR is always 0, do you know?

guangminglftg commented 2 years ago

cfg.py use_darknet_cfg=False