JustinLin610
commited on
Commit
•
f963786
1
Parent(s):
89faeab
Update README.md
Browse files
README.md
CHANGED
@@ -15,7 +15,7 @@ git clone https://huggingface.co/OFA-Sys/OFA-large
|
|
15 |
```
|
16 |
After, refer the path to OFA-large to `ckpt_dir`, and prepare an image for the testing example below. Also, ensure that you have pillow and torchvision in your environment.
|
17 |
|
18 |
-
```
|
19 |
>>> from PIL import Image
|
20 |
>>> from torchvision import transforms
|
21 |
>>> from transformers import OFATokenizer, OFAModel
|
|
|
15 |
```
|
16 |
After, refer the path to OFA-large to `ckpt_dir`, and prepare an image for the testing example below. Also, ensure that you have pillow and torchvision in your environment.
|
17 |
|
18 |
+
```python
|
19 |
>>> from PIL import Image
|
20 |
>>> from torchvision import transforms
|
21 |
>>> from transformers import OFATokenizer, OFAModel
|