Skip to content

Commit 7a6cb2d

Browse files
author
Songki Choi
committed
Hot fix for numpy attr for ResultMediaEntity
1 parent f70c29b commit 7a6cb2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

otx/api/entities/result_media.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def __init__(
8282
self.annotation_scene = annotation_scene
8383
self.roi = Annotation(Rectangle.generate_full_box(), labels=[]) if roi is None else roi
8484
self.label = label
85-
self.numpy = np.copy(numpy)
85+
self._numpy = np.copy(numpy)
8686

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

0 commit comments

Comments
 (0)