Cyrile commited on
Commit
9847b1d
1 Parent(s): 5116a9d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -52,12 +52,12 @@ Now, let's compare the performance of this model with other models.
52
 
53
  ```python
54
  import torch
55
- from transformers import AutoImageProcessor, AutoModel
56
 
57
  img_proc = AutoImageProcessor.from_pretrained(
58
  "cmarkea/dit-base-layout-detection"
59
  )
60
- model = AutoModel.from_pretrained(
61
  "cmarkea/dit-base-layout-detection"
62
  )
63
 
 
52
 
53
  ```python
54
  import torch
55
+ from transformers import AutoImageProcessor, BeitForSemanticSegmentation
56
 
57
  img_proc = AutoImageProcessor.from_pretrained(
58
  "cmarkea/dit-base-layout-detection"
59
  )
60
+ model = BeitForSemanticSegmentation.from_pretrained(
61
  "cmarkea/dit-base-layout-detection"
62
  )
63