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 f7f6710 commit 5cf9785Copy full SHA for 5cf9785
Active-Contour-Loss.py
@@ -3,7 +3,7 @@
3
4
def active_contour_loss(y_true, y_pred, weight=10):
5
'''
6
- y_true, y_pred: tensor of shape (B, C, H, W)
+ y_true, y_pred: tensor of shape (B, C, H, W), where y_true[:,:,region_in_contour] == 1, y_true[:,:,region_out_contour] == 0.
7
weight: scalar, length term weight.
8
9
# length term
0 commit comments