Closed Wolfybox closed 2 months ago
It is due to the Focal loss setting. Taking N classes for example, numbers 0,1,2,...,N-1 represent foreground, and number N represents background. In binary classification, 0 represents the foreground while 1 represents the background.
It is due to the Focal loss setting. Taking N classes for example, numbers 0,1,2,...,N-1 represent foreground, and number N represents background. In binary classification, 0 represents the foreground while 1 represents the background.
got it. thanks for the explanation.
Both in topo_ll_head and topo_lt_head, before feeding into focal loss, the gt_adj (i.e. target) went through an logical operation
to flip 1 to 0. This is confusing to me since 1 in gt_adj should represent connected which should be the target we expect rel_preds to follow.