Update README.md
Browse files
README.md
CHANGED
|
@@ -17,7 +17,7 @@ from transformers import ResNetForImageClassification, AutoImageProcessor
|
|
| 17 |
|
| 18 |
processor = AutoImageProcessor.from_pretrained("glazzova/body_type")
|
| 19 |
model = ResNetForImageClassification.from_pretrained('glazzova/body_type')
|
| 20 |
-
image = Image.open('
|
| 21 |
inputs = processor(image, return_tensors="pt")
|
| 22 |
|
| 23 |
with torch.no_grad():
|
|
|
|
| 17 |
|
| 18 |
processor = AutoImageProcessor.from_pretrained("glazzova/body_type")
|
| 19 |
model = ResNetForImageClassification.from_pretrained('glazzova/body_type')
|
| 20 |
+
image = Image.open('your_pic.jpeg')
|
| 21 |
inputs = processor(image, return_tensors="pt")
|
| 22 |
|
| 23 |
with torch.no_grad():
|