foolwood / SiamMask

[CVPR2019] Fast Online Object Tracking and Segmentation: A Unifying Approach
http://www.robots.ox.ac.uk/~qwang/SiamMask
MIT License
3.47k stars 817 forks source link

ZeroDivisionError: divide by zero error when tried a smaller batch size in Testing #133

Closed SamihaSara closed 4 years ago

SamihaSara commented 4 years ago

I tried to see the testing results in my laptop with only bag and ball1. For this I only kept these two files in /home/samiha/SiamMask/experiments/siammask_sharp/test/VOT2016/Custom_mask_refine_SiamMask_VOT/VOT2016 and in /home/samiha/SiamMask/data/VOT2016; but I am facing a ZeroDivisionError as bellow. Please help with suggestions to solve this.

image

liuwenbo4795 commented 4 years ago

The problem I face is a little different. I have tested the vot2018 dataset,whe I run the following Statement to show the result table ,"python ../../tools/eval.py --dataset VOT2018 --tracker_prefix C --result_dir ./test/VOT2018",I meet the ZeroDivisionError: division by zero.I don't know how to solve it!

SamihaSara commented 4 years ago

Though I have not tried it yet, also it is not the same problem as ours, could you please try this solution to see if it also works in this case? Link-- https://github.com/foolwood/SiamMask/issues/143#issue-574846800

liuwenbo4795 commented 4 years ago

I have tried it,but it didn't work. @SamihaSara

haishibei commented 4 years ago

@SamihaSara , thanks u, it works