five

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")

5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作