Update README.md
Browse files
README.md
CHANGED
|
@@ -31,6 +31,7 @@ logits = outputs.logits
|
|
| 31 |
# model predicts one of the 1000 ImageNet classes
|
| 32 |
predicted_class_idx = logits.argmax(-1).item()
|
| 33 |
print("Predicted class:", model.config.id2label[predicted_class_idx])
|
|
|
|
| 34 |
```
|
| 35 |
|
| 36 |
# Citation
|
|
|
|
| 31 |
# model predicts one of the 1000 ImageNet classes
|
| 32 |
predicted_class_idx = logits.argmax(-1).item()
|
| 33 |
print("Predicted class:", model.config.id2label[predicted_class_idx])
|
| 34 |
+
# Predicted class: Egyptian cat
|
| 35 |
```
|
| 36 |
|
| 37 |
# Citation
|