Ignore objects in loss calculation
Hi! Thanks for your outstanding work! I have a some question about loss calculation. Suppose, I have in my dataset some target objects which should be ignored during training. There is a right way to do this during heatmap loss calculation based on Gaussians?
Should I generate a binary training mask for pixels which belongs to "ignore" object for whole gaussian(positive+negative) or only for center(positive) pixel?
This is original image with targets visualization(red - targets, cyan - ignoring objects.

This is source heatmaps for all objects.

This mask for ignoring objects(drawing as circle with same radius as in heatmap generation)

This is masked source heatmaps.

My question is: is there a proper way to generate training mask for ignoring objects?
Source: xingyizhou/CenterNet