Closed SherlockHolmes221 closed 5 months ago
why need to rescale offset range during testing, thanks if 'test' in kwargs: outputs_offsets[...,0] /= (img_h / 256) outputs_offsets[...,1] /= (img_w / 256)
The model is trained using 256x256 image patches. The rescaling operation ensures a consistent offset range during training and inference.
why need to rescale offset range during testing, thanks if 'test' in kwargs: outputs_offsets[...,0] /= (img_h / 256) outputs_offsets[...,1] /= (img_w / 256)