saninmohammedn
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -36,13 +36,15 @@ First, ensure you have the required libraries installed:
|
|
36 |
pip install transformers torch torchvision pillow matplotlib
|
37 |
|
38 |
|
|
|
39 |
|
40 |
### How to use
|
41 |
|
42 |
Here is how to use this model:
|
|
|
43 |
from transformers import AutoImageProcessor, Mask2FormerForUniversalSegmentation
|
44 |
from PIL import Image
|
45 |
-
|
46 |
import matplotlib.pyplot as plt
|
47 |
|
48 |
# Load the processor and model
|
|
|
36 |
pip install transformers torch torchvision pillow matplotlib
|
37 |
|
38 |
|
39 |
+
```
|
40 |
|
41 |
### How to use
|
42 |
|
43 |
Here is how to use this model:
|
44 |
+
```
|
45 |
from transformers import AutoImageProcessor, Mask2FormerForUniversalSegmentation
|
46 |
from PIL import Image
|
47 |
+
import torch
|
48 |
import matplotlib.pyplot as plt
|
49 |
|
50 |
# Load the processor and model
|