in metrics: apparently the incoming targets to the function get_score is torch.Tensor sometimes which needs to be brought to cpu and then converted to numpy when calculating metric_score
Receptive fields: when CUDA present, the torch.Tensor must be moved to cpu before converting to numpy