MCPcopy Create free account
hub / github.com/ImprintLab/MedSegDiff / eval_seg

Function eval_seg

scripts/segmentation_env.py:88–134  ·  view source on GitHub ↗

threshold: a int or a tuple of int masks: [b,2,h,w] pred: [b,2,h,w]

(pred,true_mask_p,threshold = (0.1, 0.3, 0.5, 0.7, 0.9))

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls 2

iouFunction · 0.85
dice_coeffFunction · 0.85

Tested by

no test coverage detected