Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CandleLabAI/PCBSegClassNet
/ DISLoss
Function
DISLoss
src/models/loss.py:41–46 ·
view source on GitHub ↗
(y_true, y_pred)
Source
from the content-addressed store, hash-verified
39
40
41
def
DISLoss(y_true, y_pred):
42
return
(
43
dice_loss(y_true, y_pred)
44
+ jacard_coef_loss(y_true, y_pred)
45
+ ssim_loss(y_true, y_pred)
46
)
Callers
nothing calls this directly
Calls
3
dice_loss
Function · 0.85
jacard_coef_loss
Function · 0.85
ssim_loss
Function · 0.85
Tested by
no test coverage detected