Skip to content

Commit

Permalink
Hot fix for numpy attr for ResultMediaEntity
Browse files Browse the repository at this point in the history
  • Loading branch information
goodsong81 committed Apr 4, 2023
1 parent f70c29b commit 7a6cb2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otx/api/entities/result_media.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def __init__(
self.annotation_scene = annotation_scene
self.roi = Annotation(Rectangle.generate_full_box(), labels=[]) if roi is None else roi
self.label = label
self.numpy = np.copy(numpy)
self._numpy = np.copy(numpy)

def __repr__(self):
"""Returns a string with all the attributes of the ResultMediaEntity."""
Expand Down

0 comments on commit 7a6cb2d

Please sign in to comment.