CoMix
收藏资源简介:
CoMix是一个用于漫画理解的漫画数据集框架,包含了多个漫画数据集,如DCM、comics、eBDtheque和PopManga等。该框架允许用户使用验证集的注释,并从原始来源下载图像,而不会违反许可证。
CoMix is a comic dataset framework for comic understanding, which encompasses multiple comic datasets including DCM, comics, eBDtheque, PopManga, among others. This framework enables users to utilize the annotations of the validation set and download images from their original sources without violating license agreements.
CoMix: Comics Dataset Framework for Comics Understanding
简介
该项目旨在重现(在验证集上)以下基准测试:
- [x] (检测)Comics Datasets Framework: Mix of Comics datasets for detection benchmarking
- [ ] (多任务)CoMix: A Comprehensive Benchmark for Multi-Task Comic Understanding
- [x] (字幕生成)ComiCap: A VLMs pipeline for dense captioning of Comic Panels
主要限制是无法共享图像。为解决此问题,我们创建了此框架,允许使用我们的(验证)注释,并从原始来源下载图像,而不会违反许可证。
comix 使用以下数据集:
- [x] DCM
- [x] comics
- [x] eBDtheque
- [x] PopManga
- [ ] Manga109
安装
项目使用 Python 3.8 编写。创建 conda 环境: bash conda create --name myenv python=3.8 conda activate myenv
安装依赖项: bash pip install -e .
流程
项目分为以下步骤:
- [x] 手动获取并定位图像和注释到正确的文件夹(例如
data/) - [x] 处理图像到统一的命名和文件夹结构 -
comix/process - [x] 模型性能(在数据上使用预训练或自定义模型) -
benchmarks - [x] 评估模型性能与提供的 Ground Truth -
comix/evaluators
模型性能和评估
在 benchmarks 文件夹中,有多个脚本用于在各种任务上对数据集进行基准测试。
检测脚本生成 COCO 格式的 json 文件,可由 comix/evaluators/detection.py 脚本用于评估模型性能。
字幕生成脚本生成多个 .txt 文件,可通过后处理获得 captions.csv 和 objects.csv 文件,由 comix/evaluators/captioning.py 脚本用于评估模型性能。
文档
文档位于 /docs 文件夹中。
主要文档:




