SakuraD commited on
Commit
8ad068c
1 Parent(s): 57f4c66
Files changed (1) hide show
  1. mmdet/apis/inference.py +1 -1
mmdet/apis/inference.py CHANGED
@@ -206,7 +206,7 @@ def show_result_pyplot(model,
206
  """
207
  if hasattr(model, 'module'):
208
  model = model.module
209
- model.show_result(
210
  img,
211
  result,
212
  score_thr=score_thr,
 
206
  """
207
  if hasattr(model, 'module'):
208
  model = model.module
209
+ return model.show_result(
210
  img,
211
  result,
212
  score_thr=score_thr,