ugscnn
ugscnn copied to clipboard
Avoid torch.bool overflow in accuracy and IoU calculations.
Before pytorch 1.1, torch.uint8 was used for binary operations, but this is no longer the case.