andy-yun / pytorch-0.4-yolov3

Yet Another Implimentation of Pytroch 0.4.1 and YoloV3 on python3
MIT License
278 stars 72 forks source link

What is 'eps' in evalutation? #77

Closed richard0326 closed 5 years ago

richard0326 commented 5 years ago
eps           = 1e-5

...

precision = 1.0*correct/(proposals+eps)
recall = 1.0*correct/(total+eps)
fscore = 2.0*precision*recall/(precision+recall+eps)

I'm working on understanding the evaluation system. And having problem in understanding eps... Why do you add '1e-5' value. And named it eps??

andy-yun commented 5 years ago

@richard0326 eps stands for epsilon and has a role to avoid divide-by-zero exception.

richard0326 commented 5 years ago

thank you