zbhpku/editworld_data_basicv0
收藏Hugging Face2024-06-22 更新2024-06-29 收录
下载链接:
https://hf-mirror.com/datasets/zbhpku/editworld_data_basicv0
下载链接
链接失效反馈官方服务:
资源简介:
该数据集包含三个主要特征:original_image(原始图像)、instruction(指令)和target_image(目标图像),数据类型分别为图像和字符串。数据集的语言为英语,数据规模在10万到100万之间。
The dataset contains three main features: original_image, instruction, and target_image, with data types being image and string, respectively. The language of the dataset is English, and the data size is between 100K and 1M.
提供机构:
zbhpku
原始信息汇总
数据集概述
数据集信息
- 特征:
original_image: 原始图像,数据类型为图像。instruction: 指令,数据类型为字符串。target_image: 目标图像,数据类型为图像。
- 语言:
- 英语 (
en)
- 英语 (
- 数据集规模:
- 100K < n < 1M
数据加载示例
以下是使用Python从Parquet文件中加载图像的示例代码:
python import pyarrow.parquet as pq
test_parquet_path = t2i_branch/group_0.parquet table = pq.read_table(test_parquet_path) df = table.to_pandas()
from PIL import Image import io
binary_image = df[original_image][1] binary_image_t = df[target_image][1]
image = Image.open(io.BytesIO(binary_image)) image.save("origin.png") image = Image.open(io.BytesIO(binary_image_t)) image.save("target.png")



