You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 31, 2023. It is now read-only.
🐛 Bug
https://github.com/facebookresearch/maskrcnn-benchmark/blob/master/maskrcnn_benchmark/utils/comm.py#L66-L67 use IntTensor to store tensor size may cause an overflow. For example, a tensor of shape [50000, 2000, 6] (50k images with each have 2k bounding boxes) will cause torch.IntTensor([tensor.numel()]).to("cuda") equals -1894966895. It seems that LongTensor is better choice for storing tensor size?
The text was updated successfully, but these errors were encountered: