LPRNet_Pytorch icon indicating copy to clipboard operation
LPRNet_Pytorch copied to clipboard

ZeroDivisionError: float division by zero

Open VSERunKNOWN opened this issue 2 years ago • 2 comments

Successful to build network! load pretrained model successful! Traceback (most recent call last): File "D:LPRNet_Pytorch-master/test_LPRNet.py", line 176, in test() File "D:LPRNet_Pytorch-master/test_LPRNet.py", line 74, in test Greedy_Decode_Eval(lprnet, test_dataset, args) File "D:LPRNet_Pytorch-master/test_LPRNet.py", line 137, in Greedy_Decode_Eval Acc = Tp * 1.0 / (Tp + Tn_1 + Tn_2) ZeroDivisionError: float division by zero

VSERunKNOWN avatar Nov 10 '21 09:11 VSERunKNOWN

did you fix the problem ??

i have the same problem

thamerML avatar Feb 01 '24 09:02 thamerML

me too, so how to solve this problem

superme3322 avatar Mar 05 '24 03:03 superme3322