R/metric.R
foreground_acc.Rd
Computes non-background accuracy for multiclass segmentation
foreground_acc(inp, targ, bkg_idx = 0, axis = 1)
predictions
targets
bkg_idx
axis
None