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 9f1a6c2 commit 4363667Copy full SHA for 4363667
modules/ximgproc/src/alphagan_matting/models/test_model.py
@@ -59,4 +59,3 @@ def trimap_merge(self, alpha, trimap):
59
# Using the already known regions from trimap
60
final_alpha = torch.where(torch.eq(torch.ge(trimap, 0.4), torch.le(trimap, 0.6)), alpha, trimap)
61
return final_alpha
62
-
0 commit comments