Update README.md
Browse files
README.md
CHANGED
@@ -132,6 +132,12 @@ To get started with the model, you first need to make sure that `transformers` a
|
|
132 |
pip install torchvision Pillow open_clip_torch
|
133 |
```
|
134 |
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
Then you can run the following code:
|
136 |
|
137 |
```python
|
|
|
132 |
pip install torchvision Pillow open_clip_torch
|
133 |
```
|
134 |
|
135 |
+
⚠️ Please note that you need to install our customized transformers lib:
|
136 |
+
```bash
|
137 |
+
pip install git+https://github.com/jwyang/transformers.git@dev/jwyang-v4.48.2
|
138 |
+
```
|
139 |
+
See [here](https://github.com/microsoft/Magma?tab=readme-ov-file#installation) for the reason why you need this.
|
140 |
+
|
141 |
Then you can run the following code:
|
142 |
|
143 |
```python
|