vladislavbro commited on
Commit
31aaa91
·
verified ·
1 Parent(s): 034b9f9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -39,8 +39,8 @@ from transformers import DFineForObjectDetection, AutoImageProcessor
39
  url = 'http://images.cocodataset.org/val2017/000000039769.jpg'
40
  image = Image.open(requests.get(url, stream=True).raw)
41
 
42
- image_processor = AutoImageProcessor.from_pretrained("vladislavbro/dfine_x_coco")
43
- model = DFineForObjectDetection.from_pretrained("vladislavbro/dfine_x_coco")
44
 
45
  inputs = image_processor(images=image, return_tensors="pt")
46
 
 
39
  url = 'http://images.cocodataset.org/val2017/000000039769.jpg'
40
  image = Image.open(requests.get(url, stream=True).raw)
41
 
42
+ image_processor = AutoImageProcessor.from_pretrained("ustc-community/dfine_x_coco")
43
+ model = DFineForObjectDetection.from_pretrained("ustc-community/dfine_x_coco")
44
 
45
  inputs = image_processor(images=image, return_tensors="pt")
46