mp-02 commited on
Commit
173c871
·
verified ·
1 Parent(s): a8ea53b

Update sroie_inference.py

Browse files
Files changed (1) hide show
  1. sroie_inference.py +1 -1
sroie_inference.py CHANGED
@@ -72,7 +72,7 @@ def prediction(image):
72
  true_confidence_scores = true_confidence_scores[1:-1]
73
 
74
  for i, j in enumerate(true_confidence_scores):
75
- if j < 0.9 or : #####################################
76
  true_predictions[i] = "O"
77
 
78
  d = {}
 
72
  true_confidence_scores = true_confidence_scores[1:-1]
73
 
74
  for i, j in enumerate(true_confidence_scores):
75
+ if j < 0.9: #####################################
76
  true_predictions[i] = "O"
77
 
78
  d = {}