Skip to content

Commit 38c2d9e

Browse files
committed
fix opencv issue
1 parent b349ef0 commit 38c2d9e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

efficientdet_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ def display(preds, imgs, imshow=True, imwrite=False):
8383
if len(preds[i]['rois']) == 0:
8484
continue
8585

86+
imgs[i] = imgs[i].copy()
87+
8688
for j in range(len(preds[i]['rois'])):
8789
x1, y1, x2, y2 = preds[i]['rois'][j].astype(np.int)
8890
obj = obj_list[preds[i]['class_ids'][j]]

0 commit comments

Comments
 (0)