Instructions to use DineshKumar1329/DogCat_Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DineshKumar1329/DogCat_Classifier with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("DineshKumar1329/DogCat_Classifier", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -68,4 +68,4 @@ with torch.no_grad():
|
|
| 68 |
temp, predicted = torch.max(outputs, 1)
|
| 69 |
|
| 70 |
# Output the prediction
|
| 71 |
-
print(f'The predicted class for the image is: {"Cat" if predicted.item() == 0 else "Dog"}')
|
|
|
|
| 68 |
temp, predicted = torch.max(outputs, 1)
|
| 69 |
|
| 70 |
# Output the prediction
|
| 71 |
+
print(f'The predicted class for the image is: {"Cat" if predicted.item() == 0 else "Dog"}')
|