Deploy pytorch model on webcam

So why are you trying to see if it is greater than or equal to 0.5. Don’t you want that to say

if score >= 0.5

to make sure the model is confident enough.