Q-Future / Q-Refine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AI-Generated Image Quality Refiner

1Shanghai Jiao Tong University University, 2Nanyang Technological University, 3Shanghai AI Lab

The official repo of AIGC image quality refiners:

Q-Refine: Single optimization in perceptual quality.

G-Refine: General optimization in perceptual/alignment quality.

🔎Quality Map

Perceptual Quality Map

python PQ-Map.py -p /orignal/image/path

Change draw to enable a quality map output. multi for using onr/multiple embedings. (Condisering overall quality, or quality in different aspect)

Alignment Quality Map

🚀 Refining Code

Q-Refine

G-Refine

🌈Training

📌 TODO

  • ✅ Release the PQ-Map code (Q-Refine and G-Refine)
  • Release the AQ-Map code (G-Refine only)
  • Release the Q-Refine code
  • Release the G-Refine code
  • Release the training script

📧 Contact

If you have any inquiries, please don't hesitate to reach out via email at lcysyzxdxc@sjtu.edu.cn

🎓Citations

If you find G-Refine is helpful, please cite:

@misc{G-Refine,
      title={G-Refine: A General Quality Refiner for Text-to-Image Generation}, 
      author={Chunyi Li and Haoning Wu and Hongkun Hao and Zicheng Zhang and Tengchaun Kou and Chaofeng Chen and Lei Bai and Xiaohong Liu and Weisi Lin and Guangtao Zhai},
      year={2024},
      eprint={2404.18343},
      archivePrefix={arXiv},
      primaryClass={cs.MM}
}

If you find Q-Refine is helpful, please cite:

@misc{Q-Refine,
      title={Q-Refine: A Perceptual Quality Refiner for AI-Generated Image}, 
      author={Chunyi Li and Haoning Wu and Zicheng Zhang and Hongkun Hao and Kaiwei Zhang and Lei Bai and Xiaohong Liu and Xiongkuo Min and Weisi Lin and Guangtao Zhai},
      year={2024},
      eprint={2401.01117},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

About

License:Apache License 2.0


Languages

Language:Python 100.0%