sirius-ai / LPRNet_Pytorch

Pytorch Implementation For LPRNet, A High Performance And Lightweight License Plate Recognition Framework.
Apache License 2.0
920 stars 231 forks source link

ZeroDivisionError: float division by zero #62

Open VSERunKNOWN opened 2 years ago

VSERunKNOWN commented 2 years ago

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

thamerML commented 9 months ago

did you fix the problem ??

i have the same problem

superme3322 commented 7 months ago

me too, so how to solve this problem