timm
PyTorch
medical
Image Feature Extraction
egeozsoy commited on
Commit
ec9828c
1 Parent(s): 034b461

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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", "endovit.pth")
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))