Update README.md
Browse files
README.md
CHANGED
@@ -86,7 +86,7 @@ images = torch.stack([process_single_image(image_path) for image_path in image_p
|
|
86 |
|
87 |
device = "cuda"
|
88 |
dtype = torch.float16
|
89 |
-
model, loading_info = load_model_from_huggingface("egeozsoy/EndoViT", "
|
90 |
model = model.to(device, dtype)
|
91 |
print(loading_info)
|
92 |
output = model.forward_features(images.to(device, dtype))
|
|
|
86 |
|
87 |
device = "cuda"
|
88 |
dtype = torch.float16
|
89 |
+
model, loading_info = load_model_from_huggingface("egeozsoy/EndoViT", "pytorch_model.bin")
|
90 |
model = model.to(device, dtype)
|
91 |
print(loading_info)
|
92 |
output = model.forward_features(images.to(device, dtype))
|