Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CandleLabAI/PCBSegClassNet
/ jacard_coef_loss
Function
jacard_coef_loss
src/models/loss.py:33–34 ·
view source on GitHub ↗
(y_true, y_pred)
Source
from the content-addressed store, hash-verified
31
32
33
def
jacard_coef_loss(y_true, y_pred):
34
return
tf.reduce_mean(1.0 - jacard_coef(y_true, y_pred))
35
36
37
def
ssim_loss(y_true, y_pred):
Callers
1
DISLoss
Function · 0.85
Calls
1
jacard_coef
Function · 0.85
Tested by
no test coverage detected