Commit ·
7e2a818
1
Parent(s): dbaef4c
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,7 +11,7 @@ To use it in transformers, please refer to https://github.com/OFA-Sys/OFA/tree/f
|
|
| 11 |
```
|
| 12 |
git clone --single-branch --branch feature/add_transformers https://github.com/OFA-Sys/OFA.git
|
| 13 |
pip install OFA/transformers/
|
| 14 |
-
|
| 15 |
```
|
| 16 |
After, refer the path to OFA-medium to `ckpt_dir`, and prepare an image for the testing example below. Also, ensure that you have pillow and torchvision in your environment.
|
| 17 |
|
|
|
|
| 11 |
```
|
| 12 |
git clone --single-branch --branch feature/add_transformers https://github.com/OFA-Sys/OFA.git
|
| 13 |
pip install OFA/transformers/
|
| 14 |
+
git clone https://huggingface.co/OFA-Sys/OFA-medium
|
| 15 |
```
|
| 16 |
After, refer the path to OFA-medium to `ckpt_dir`, and prepare an image for the testing example below. Also, ensure that you have pillow and torchvision in your environment.
|
| 17 |
|