API
收藏资源简介:
API(Anime Production-oriented Image)数据集由密歇根大学、耶鲁大学和浙江大学联合创建,旨在解决现实世界中动漫图像超分辨率问题。研究人员通过深入分析动漫生产流程,提出了一种新的动漫图像收集流程,选取视频中压缩程度最低、信息量最丰富的帧,以此构建数据集,从而有效避免了视频传输和物理老化导致的手绘线条弱化问题。API数据集包含了3,740张高质量的动漫图像,这些图像经过精心筛选,确保了数据的多样性和复杂性。该数据集的应用领域广泛,特别是在娱乐和商业领域,对于提升动漫图像的视觉质量和清晰度具有重要意义。
The API (Anime Production-oriented Image) dataset was jointly created by the University of Michigan, Yale University, and Zhejiang University, aiming to address the real-world super-resolution problem for anime images. By thoroughly analyzing the anime production pipeline, the researchers proposed a novel anime image collection workflow, selecting the frames with the lowest compression level and the richest information content from videos to construct the dataset, thus effectively avoiding the weakening of hand-drawn lines caused by video transmission and physical aging. The API dataset contains 3,740 high-quality anime images, which have been carefully screened to ensure the data's diversity and complexity. This dataset has a wide range of application scenarios, especially in the entertainment and commercial fields, and is of great significance for improving the visual quality and clarity of anime images.
APISR: Anime Production Inspired Real-World Anime Super-Resolution
概述
APISR是一个图像和视频放大器,旨在恢复和增强来自现实世界场景的各种退化的低质量低分辨率动漫图像和视频源。
更新
- 已发布APISR论文版本的实现
- 已发布不同放大因子的权重(2x, 4x等)
- 已添加Gradio演示(在线)
- 已提供不同架构(DAT-Small)的权重
- 已添加与Toon Crafter结合的结果
可视化
提供了多个动漫图像的超分辨率结果,包括EVA、Pokemon、Gundam0079等。
安装
- 克隆项目仓库
- 创建conda环境
- 安装Pytorch和其他所需包
- 安装FFMPEG(仅在训练和数据集准备阶段需要)
推理
- Gradio快速推理:在线演示可在HuggingFace或Colab找到
- 常规推理:下载模型权重并执行inference.py脚本
数据集准备
- 使用dataset_curation_pipeline收集和准备数据集
- 下载IC9600权重并执行collect.py脚本
- 运行prepare_datasets.sh脚本进行数据集预处理
训练
- 准备预处理的数据集
- 执行train.py脚本进行网络L1损失训练
- 执行train.py脚本进行GAN对抗训练,需指定预训练路径
引用
如果APISR对您的研究有用,请引用我们的工作。
许可证
本项目基于GPL 3.0许可证发布。




