Commit
·
a75980b
1
Parent(s):
01ecca4
Update README.md
Browse files
README.md
CHANGED
|
@@ -16,7 +16,7 @@ git clone https://huggingface.co/OFA-Sys/OFA-base
|
|
| 16 |
After, refer the path to OFA-base 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 |
-
```
|
| 20 |
>>> from PIL import Image
|
| 21 |
>>> from torchvision import transforms
|
| 22 |
>>> from transformers import OFATokenizer, OFAModel
|
|
|
|
| 16 |
After, refer the path to OFA-base 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 |
+
```python
|
| 20 |
>>> from PIL import Image
|
| 21 |
>>> from torchvision import transforms
|
| 22 |
>>> from transformers import OFATokenizer, OFAModel
|