JustinLin610 commited on
Commit
980ce70
1 Parent(s): e602494

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -21,7 +21,7 @@ After, refer the path to OFA-large to `ckpt_dir`, and prepare an image for the t
21
  >>> from transformers import OFATokenizer, OFAForConditionalGeneration
22
 
23
  >>> mean, std = [0.5, 0.5, 0.5], [0.5, 0.5, 0.5]
24
- >>> resolution = 256
25
  >>> patch_resize_transform = transforms.Compose([
26
  lambda image: image.convert("RGB"),
27
  transforms.Resize((resolution, resolution), interpolation=Image.BICUBIC),
 
21
  >>> from transformers import OFATokenizer, OFAForConditionalGeneration
22
 
23
  >>> mean, std = [0.5, 0.5, 0.5], [0.5, 0.5, 0.5]
24
+ >>> resolution = 480
25
  >>> patch_resize_transform = transforms.Compose([
26
  lambda image: image.convert("RGB"),
27
  transforms.Resize((resolution, resolution), interpolation=Image.BICUBIC),