mit-han-lab / efficientvit

EfficientViT is a new family of vision models for efficient high-resolution vision.
Apache License 2.0
1.6k stars 142 forks source link

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

Open AbhaSinghPathania opened 8 months ago

AbhaSinghPathania commented 8 months ago

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

fenganran3 commented 7 months ago

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

qpq187 commented 4 months ago

there is something wrong with your path of dataset