torch_a_bug1076×733 57 KB

As the screenshort, the position of the red frame should be -INFINITY. Secondly, if the output1 is -INFINITY, the output2, argmax, should be the first index in the rois, not be -1.