after performing this during inferencing/testing:
output = model(image) output = output.cpu().detach().numpy() output = np.squeeze(output , axis = 0)