davidhajdu commited on
Commit
5d02ab6
·
verified ·
1 Parent(s): 0ab2be6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -62,8 +62,8 @@ from transformers import AutoModelForObjectDetection, AutoImageProcessor
62
  url = 'http://images.cocodataset.org/val2017/000000039769.jpg'
63
  image = Image.open(requests.get(url, stream=True).raw)
64
 
65
- image_processor = AutoImageProcessor.from_pretrained("davidhajdu/dab-detr-resnet-50")
66
- model = AutoModelForObjectDetection.from_pretrained("davidhajdu/dab-detr-resnet-50")
67
 
68
  inputs = image_processor(images=image, return_tensors="pt")
69
 
 
62
  url = 'http://images.cocodataset.org/val2017/000000039769.jpg'
63
  image = Image.open(requests.get(url, stream=True).raw)
64
 
65
+ image_processor = AutoImageProcessor.from_pretrained("IDEA-Research/dab-detr-resnet-50")
66
+ model = AutoModelForObjectDetection.from_pretrained("IDEA-Research/dab-detr-resnet-50")
67
 
68
  inputs = image_processor(images=image, return_tensors="pt")
69