lance-format/food101-lance
收藏资源简介:
Food-101 (Lance Format)是Food-101数据集的Lance格式版本,包含101,000张食物照片,涵盖101个类别。数据来源于`ethz/food101`数据集,并包含了内联的JPEG字节、CLIP图像嵌入和IVF_PQ索引。数据集分为训练集和验证集,分别有75,750和25,250行数据。每行数据包含id、image、label、label_name和image_emb等列。
Food-101 (Lance Format) is the Lance-formatted variant of the Food-101 dataset, which contains 101,000 food photographs spanning 101 categories. Derived from the `ethz/food101` dataset, it includes inline JPEG bytes, CLIP image embeddings and an IVF_PQ index. The dataset is split into training and validation subsets, with 75,750 and 25,250 rows respectively. Each row contains columns such as id, image, label, label_name and image_emb.
以下是数据集 lance-format/food101-lance 的详细概述:
数据集简介
- 名称:Food-101 (Lance Format)
- 描述:这是原始 Food-101 数据集的 Lance 格式版本,包含 101,000 张食物照片,覆盖 101 个类别。数据来源于
ethz/food101。 - 许可协议:Other(其他,详情请参见原始数据集页面)
任务与模态
- 任务:图像分类、图像特征提取
- 模态:图像、文本
数据集规模
- 总行数:101,000 行(训练集 75,750 行 + 验证集 25,250 行)
- 总文件大小:6.35 GB
- 数据量:10K - 100K
数据格式与语言
- 格式:Lance
- 语言:英语
数据列 Schema
| 列名 | 类型 | 说明 |
|---|---|---|
id |
int64 |
行索引(在每个 split 内) |
image |
large_binary |
内联 JPEG 字节数据 |
label |
int32 |
类别 ID(0-100) |
label_name |
string |
101 种菜肴名称之一(如 apple_pie, baby_back_ribs 等) |
image_emb |
fixed_size_list<float32, 512> |
OpenCLIP ViT-B-32 模型的嵌入向量(已做余弦归一化) |
数据集划分 (Splits)
| Split 名称 | 行数 |
|---|---|
train.lance |
75,750 |
validation.lance |
25,250 |
预建索引
- IVF_PQ:基于
image_emb列,使用余弦距离度量 - BTREE:基于
label列 - BITMAP:基于
label_name列
标签与元信息
- 标签:food-101, fine-grained, lance, clip-embeddings
- 库支持:Datasets, Lance, Croissant
引用
bibtex @inproceedings{bossard2014food, title={Food-101 -- Mining Discriminative Components with Random Forests}, author={Bossard, Lukas and Guillaumin, Matthieu and Van Gool, Luc}, booktitle={European Conference on Computer Vision (ECCV)}, year={2014} }




