efficientvit icon indicating copy to clipboard operation
efficientvit copied to clipboard

mIoU = {(interaction.sum / union.sum).cpu().mean().item() * 100:.3f}") ZeroDivisionError: division by zero

Open AbhaSinghPathania opened this issue 2 years ago • 2 comments

This error coming while running eval_seg_model on ade20k. How to resolve this error. eval command used: python eval_seg_model.py --path img1.jpg --weight_url l1.pt --dataset ade20k --crop_size 1024 --model l1

AbhaSinghPathania avatar Oct 28 '23 05:10 AbhaSinghPathania

I have the same problem. Have you solved it? How did you solve it?

fenganran3 avatar Dec 04 '23 13:12 fenganran3

there is something wrong with your path of dataset

qpq187 avatar Feb 12 '24 14:02 qpq187