Skip to content

Commit

Permalink
doc minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kennymckormick committed Jul 24, 2024
1 parent 157c41e commit 9eff595
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/en/Development.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The contents of the TSV file consist of:
**Intro to mandatory fields in the `TSV` file:**

- **index:** Integer, Unique for each line in `tsv`
- **image:** The base64 of the image, you can use APIs implemented in `vlmeval/smp.py` for encoding and decoding:
- **image:** The base64 of the image, you can use APIs implemented in `vlmeval/smp/vlm.py` for encoding and decoding:
- Encoding: `encode_image_to_base64 `(for PIL Image) / `encode_image_file_to_base64` (for image file path)
- Decoding: `decode_base64_to_image`(for PIL Image) / `decode_base64_to_image_file` (for image file path)
- **question**: The question corresponding to the image, a string
Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/Development_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ TSV 文件中的内容组成为:
**TSV 中必须字段的介绍:**

- **index:** 一个整数,`tsv` 中每一行的唯一标识
- **image:** 图片的 base64 编码,你可以使用 `vlmeval/smp.py` 中实现的API进行编码和解码:
- **image:** 图片的 base64 编码,你可以使用 `vlmeval/smp/vlm.py` 中实现的API进行编码和解码:
- 编码:`encode_image_to_base64`(对于PIL Image)/ `encode_image_file_to_base64`(对于图片文件路径)
- 解码:`decode_base64_to_image`(对于PIL Image)/ `decode_base64_to_image_file`(对于图片文件路径)
- **question:** 针对图像所提取出的问题,类型为字符串
Expand Down

0 comments on commit 9eff595

Please sign in to comment.