mmdet showresult add *args

pull/999/head
whhuang 2022-09-05 12:12:17 +08:00
parent 93ef8a36b2
commit 82265a31cf
1 changed files with 2 additions and 0 deletions

View File

@ -276,6 +276,7 @@ class End2EndModel(BaseBackendModel):
return outputs
def show_result(self,
*args,
img: np.ndarray,
result: list,
win_name: str = '',
@ -285,6 +286,7 @@ class End2EndModel(BaseBackendModel):
**kwargs):
return BaseDetector.show_result(
self,
*args,
img=img,
result=result,
score_thr=score_thr,