JustinLin610
commited on
Commit
•
965ce12
1
Parent(s):
f7fd166
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-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 |
|
|
|
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-base
|
15 |
```
|
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 |
|