efficientvit icon indicating copy to clipboard operation
efficientvit copied to clipboard

An error occurred with ade20k or cityscapes using eval_seg_model.py

Open liaochuanlin opened this issue 2 years ago • 2 comments

/home/aa/miniconda3/envs/efficientvit/bin/python3.10 /home/aa/efficientvit-master/eval_seg_model.py --dataset ade20k --crop_size 512 --model l1 --path /dataset/ade20k/images/validation Eval l1 on ade20k: 0it [00:00, ?it/s] Traceback (most recent call last): File "/home/aa/efficientvit-master/eval_seg_model.py", line 703, in main() File "/home/aa/efficientvit-master/eval_seg_model.py", line 699, in main print(f"mIoU = {(interaction.sum / union.sum).cpu().mean().item() * 100:.1f}") ZeroDivisionError: division by zero

Process finished with exit code 1

liaochuanlin avatar Sep 19 '23 10:09 liaochuanlin

Hi @han-cai

liaochuanlin avatar Sep 19 '23 10:09 liaochuanlin

I am facing the same issue.

AbhaSinghPathania avatar Oct 21 '23 06:10 AbhaSinghPathania