Skip to content

Commit 016e121

Browse files
convert id to int in Detection class constructor
Signed-off-by: Ashwin Vaidya <[email protected]>
1 parent 4436842 commit 016e121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

model_api/python/model_api/models/result_types/detection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def __init__(
2929
self.xmax = xmax
3030
self.ymax = ymax
3131
self.score = score
32-
self.id = id
32+
self.id = int(id)
3333
self.str_label = str_label
3434

3535
def __str__(self):

0 commit comments

Comments
 (0)