MaskTextSpotter icon indicating copy to clipboard operation
MaskTextSpotter copied to clipboard

Calculated!{"precision": 0, "recall": 0.0, "hmean": 0, "AP": 0}

Open zhongdajian opened this issue 4 years ago • 2 comments

i have run the command "python -m torch.distributed.launch --nproc_per_node=1 test_net.py ". In the config file, i used the download “model_finetune.pth” and test it on icdar_test dataset. The output images seems to be have the right results, but the precision is 0. I don't know why.

zhongdajian avatar May 30 '20 08:05 zhongdajian

@zhongdajian I think you should not use the distributed mode for testing. Generally, it is only used in training.

MhLiao avatar Jun 15 '20 03:06 MhLiao

@MhLiao Sorry to bother you again! When i run the test_net.py with the model_finetune.pth, there comes an error: MaskTextSpotter/maskrcnn_benchmark/engine/text_inference.py", line 232, in process_char_mask box = list(boxes[index]) IndexError: index 1 is out of bounds for axis 0 with size 1 Could you help me?

zhongdajian avatar Jun 15 '20 12:06 zhongdajian