[Fix] single gpu test bug

pull/52/head
Liang Yang 2022-03-08 10:23:37 +08:00 committed by GitHub
parent 217a3ae43d
commit eeb757108e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -69,14 +69,14 @@ def single_gpu_test(model: nn.Module,
if is_module_wrapper(model):
model.module.show_result(
img_show,
result[i],
result[j],
show=show,
out_file=out_file,
score_thr=show_score_thr)
else:
model.show_result(
img_show,
result[i],
result[j],
show=show,
out_file=out_file,
score_thr=show_score_thr)