Computer Vision, Hugging Face, Image Processing, Artificial Intelligence, Deep Learning.
smoothing the resized image. """ prediction = torch.nn.functional.interpolate( predicted_depth.unsqueeze(1), size=image.size[::-1], mode="bicubic", align_corners=False, ) # visualize the prediction output = prediction.squeeze().cpu().numpy() formatted = (output * 255 /