Computes non-background accuracy for multiclass segmentation

foreground_acc(inp, targ, bkg_idx = 0, axis = 1)

Arguments

inp

predictions

targ

targets

bkg_idx

bkg_idx

axis

axis

Value

None