mmfewshot icon indicating copy to clipboard operation
mmfewshot copied to clipboard

result index in show of test.py

Open wang-kangkang opened this issue 2 years ago • 1 comments

https://github.com/open-mmlab/mmfewshot/blob/main/mmfewshot/detection/apis/test.py#L72

if is_module_wrapper(model):
    model.module.show_result(
        img_show,
        result[i],
        show=show,
        out_file=out_file,
        score_thr=show_score_thr)

should the index of result is j? result[j]? I get an error: IndexError: list index out of range

wang-kangkang avatar Apr 01 '22 09:04 wang-kangkang

This bug has been fixed in here.

linyq17 avatar Apr 06 '22 05:04 linyq17