Update README.md
Browse files
README.md
CHANGED
@@ -71,7 +71,7 @@ inputs = processor(image, return_tensors="pt")
|
|
71 |
with torch.no_grad():
|
72 |
logits = model(**inputs).logits
|
73 |
|
74 |
-
# model predicts
|
75 |
predicted_label = logits.argmax(-1).item()
|
76 |
print(model.config.id2label[predicted_label])
|
77 |
|
|
|
71 |
with torch.no_grad():
|
72 |
logits = model(**inputs).logits
|
73 |
|
74 |
+
# model predicts either glaucoma or non-glaucoma.
|
75 |
predicted_label = logits.argmax(-1).item()
|
76 |
print(model.config.id2label[predicted_label])
|
77 |
|