Spaces:
Build error
Build error
update
Browse files- 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,
|