We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fee15d commit 7b24ce4Copy full SHA for 7b24ce4
references/segmentation/utils.py
@@ -88,7 +88,7 @@ def compute(self):
88
return acc_global, acc, iu
89
90
def reduce_from_all_processes(self):
91
- reduce_across_processes(self.mat)
+ self.mat = reduce_across_processes(self.mat).to(torch.int64)
92
93
def __str__(self):
94
acc_global, acc, iu = self.compute()
0 commit comments