When I run main main.py with my yolov5X model pretrained with ultralytics v5_6.1 on custom images I got this error message.
saliency_map = (weights * activations).sum(1, keepdim=True)
RuntimeError: The size of tensor a (80) must match the size of tensor b (1280) at non-singleton dimension 1
Hi all,
When I run main main.py with my yolov5X model pretrained with ultralytics v5_6.1 on custom images I got this error message.
saliency_map = (weights * activations).sum(1, keepdim=True) RuntimeError: The size of tensor a (80) must match the size of tensor b (1280) at non-singleton dimension 1
Is there any solution for this?
Best regards.