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
|
@@ -46,7 +46,7 @@ from torchvision import transforms
|
|
| 46 |
from PIL import Image
|
| 47 |
|
| 48 |
# Load the model
|
| 49 |
-
model = torch.hub.load('
|
| 50 |
|
| 51 |
# Define the transformation
|
| 52 |
transform = transforms.Compose([
|
|
|
|
| 46 |
from PIL import Image
|
| 47 |
|
| 48 |
# Load the model
|
| 49 |
+
model = torch.hub.load('DineshKumar1329/DogCat_Classifier', 'resnet_cat_dog_classifier')
|
| 50 |
|
| 51 |
# Define the transformation
|
| 52 |
transform = transforms.Compose([
|