Open roomrys opened 10 months ago
Right, I think we add padding to the image to avoid truncation when downsampling --> upsampling, but not to the confidence maps, which might result in weird aspect ratio issues?
Relevant plotting code:
Called from here during training (for single instance -- other model types plot a bit differently):
Discussed in https://github.com/talmolab/sleap/discussions/1608
This looks to be a visualization issue. The red predicted points should be centered on the peak value of the green 2D Gaussian (which depicts confidence values at pixel locations). While it seems that the red predicted and green ground truth points are correctly overlaid on the image, the confidence maps (from which the predicted points are derived from) are not being correctly displayed. We must be missing some offset for the visualization of the confidence maps.
Thanks for reporting this! - I'll convert this discussion to an issue. Liezl