MCPcopy 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
33def jacard_coef_loss(y_true, y_pred):
34 return tf.reduce_mean(1.0 - jacard_coef(y_true, y_pred))
35
36
37def ssim_loss(y_true, y_pred):

Callers 1

DISLossFunction · 0.85

Calls 1

jacard_coefFunction · 0.85

Tested by

no test coverage detected