update checkpoint
Browse files
README.md
CHANGED
|
@@ -71,8 +71,8 @@ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
|
| 71 |
url = 'https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg'
|
| 72 |
image = Image.open(requests.get(url, stream=True).raw)
|
| 73 |
|
| 74 |
-
image_processor = DepthProImageProcessorFast.from_pretrained("
|
| 75 |
-
model = DepthProForDepthEstimation.from_pretrained("
|
| 76 |
|
| 77 |
inputs = image_processor(images=image, return_tensors="pt").to(device)
|
| 78 |
|
|
|
|
| 71 |
url = 'https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg'
|
| 72 |
image = Image.open(requests.get(url, stream=True).raw)
|
| 73 |
|
| 74 |
+
image_processor = DepthProImageProcessorFast.from_pretrained("apple/depth-pro-hf")
|
| 75 |
+
model = DepthProForDepthEstimation.from_pretrained("apple/depth-pro-hf").to(device)
|
| 76 |
|
| 77 |
inputs = image_processor(images=image, return_tensors="pt").to(device)
|
| 78 |
|