Update README.md
Browse files
README.md
CHANGED
@@ -45,8 +45,8 @@ import requests
|
|
45 |
url = 'http://images.cocodataset.org/val2017/000000039769.jpg'
|
46 |
image = Image.open(requests.get(url, stream=True).raw)
|
47 |
|
48 |
-
processor = PvtImageProcessor.from_pretrained('
|
49 |
-
model = PvtForImageClassification.from_pretrained('
|
50 |
|
51 |
inputs = processor(images=image, return_tensors="pt")
|
52 |
outputs = model(**inputs)
|
|
|
45 |
url = 'http://images.cocodataset.org/val2017/000000039769.jpg'
|
46 |
image = Image.open(requests.get(url, stream=True).raw)
|
47 |
|
48 |
+
processor = PvtImageProcessor.from_pretrained('Zetatech/pvt-large-224')
|
49 |
+
model = PvtForImageClassification.from_pretrained('Zetatech/pvt-large-224')
|
50 |
|
51 |
inputs = processor(images=image, return_tensors="pt")
|
52 |
outputs = model(**inputs)
|