mirror of
https://github.com/open-mmlab/mmfewshot.git
synced 2025-06-03 14:49:43 +08:00
Merge 42d9d1797332e9643912981d972532f6e59eeba3 into af4fad50b0e00946467244dc8bce4d232d2b79c2
This commit is contained in:
commit
18f5fd7539
@ -69,14 +69,14 @@ def single_gpu_test(model: nn.Module,
|
|||||||
if is_module_wrapper(model):
|
if is_module_wrapper(model):
|
||||||
model.module.show_result(
|
model.module.show_result(
|
||||||
img_show,
|
img_show,
|
||||||
result[i],
|
result[j],
|
||||||
show=show,
|
show=show,
|
||||||
out_file=out_file,
|
out_file=out_file,
|
||||||
score_thr=show_score_thr)
|
score_thr=show_score_thr)
|
||||||
else:
|
else:
|
||||||
model.show_result(
|
model.show_result(
|
||||||
img_show,
|
img_show,
|
||||||
result[i],
|
result[j],
|
||||||
show=show,
|
show=show,
|
||||||
out_file=out_file,
|
out_file=out_file,
|
||||||
score_thr=show_score_thr)
|
score_thr=show_score_thr)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user