diegokauer commited on
Commit
4f251ee
1 Parent(s): 49221d6

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -78,7 +78,7 @@ class Model(LabelStudioMLBase):
78
  'from_name': "label",
79
  'to_name': "image",
80
  'type': 'labels',
81
- 'score': score, # per-region score, visible in the editor
82
  'value': {
83
  'x': x,
84
  'y': y,
 
78
  'from_name': "label",
79
  'to_name': "image",
80
  'type': 'labels',
81
+ 'score': score.item(), # per-region score, visible in the editor
82
  'value': {
83
  'x': x,
84
  'y': y,