basicsr

Open Source Image and Video Restoration Toolbox for Super-resolution, Denoise, Deblurring, etc. Currently, it includes EDSR, RCAN, SRResNet, SRGAN, ESRGAN, EDVR, BasicVSR, SwinIR, ECBSR, etc. Also support StyleGAN2, DFDNet.

https://github.com/xpixelgroup/basicsr

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.5%) to scientific vocabulary

Keywords

basicsr basicvsr dfdnet ecbsr edsr edvr esrgan pytorch rcan restoration srgan srresnet stylegan2 super-resolution swinir
Last synced: 6 months ago · JSON representation ·

Repository

Open Source Image and Video Restoration Toolbox for Super-resolution, Denoise, Deblurring, etc. Currently, it includes EDSR, RCAN, SRResNet, SRGAN, ESRGAN, EDVR, BasicVSR, SwinIR, ECBSR, etc. Also support StyleGAN2, DFDNet.

Basic Info
Statistics
  • Stars: 7,715
  • Watchers: 85
  • Forks: 1,325
  • Open Issues: 341
  • Releases: 18
Topics
basicsr basicvsr dfdnet ecbsr edsr edvr esrgan pytorch rcan restoration srgan srresnet stylegan2 super-resolution swinir
Created almost 8 years ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

[![LICENSE](https://img.shields.io/github/license/xinntao/basicsr.svg)](https://github.com/xinntao/BasicSR/blob/master/LICENSE.txt) [![PyPI](https://img.shields.io/pypi/v/basicsr)](https://pypi.org/project/basicsr/) [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/xinntao/BasicSR.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/xinntao/BasicSR/context:python) [![python lint](https://github.com/xinntao/BasicSR/actions/workflows/pylint.yml/badge.svg)](https://github.com/xinntao/BasicSR/blob/master/.github/workflows/pylint.yml) [![Publish-pip](https://github.com/xinntao/BasicSR/actions/workflows/publish-pip.yml/badge.svg)](https://github.com/xinntao/BasicSR/blob/master/.github/workflows/publish-pip.yml) [![gitee mirror](https://github.com/xinntao/BasicSR/actions/workflows/gitee-mirror.yml/badge.svg)](https://github.com/xinntao/BasicSR/blob/master/.github/workflows/gitee-mirror.yml)
⚡[**HowTo**](#-HOWTOs) **|** 🔧[**Installation**](docs/INSTALL.md) **|** 💻[**Training Commands**](docs/TrainTest.md) **|** 🐢[**DatasetPrepare**](docs/DatasetPreparation.md) **|** 🏰[**Model Zoo**](docs/ModelZoo.md) 📕[**中文解读文档**](https://github.com/XPixelGroup/BasicSR-docs) **|** 📊 [**Plot scripts**](scripts/plot) **|** 📝[Introduction](docs/introduction.md) **|** google colab logo **|** ⏳[TODO List](https://github.com/xinntao/BasicSR/projects) **|** ❓[FAQ](docs/FAQ.md)

🚀 We add BasicSR-Examples, which provides guidance and templates of using BasicSR as a python package. 🚀
📢 技术交流QQ群320960100   入群答案:互帮互助共同进步
🧭 入群二维码 (QQ、微信)    入群指南 (腾讯文档)


BasicSR (Basic Super Restoration) is an open-source image and video restoration toolbox based on PyTorch, such as super-resolution, denoise, deblurring, JPEG artifacts removal, etc.
BasicSR (Basic Super Restoration) 是一个基于 PyTorch 的开源 图像视频复原工具箱, 比如 超分辨率, 去噪, 去模糊, 去 JPEG 压缩噪声等.

🚩 New Features/Updates

  • ✅ July 26, 2022. Add plot scripts 📊Plot.
  • ✅ May 9, 2022. BasicSR joins XPixel.
  • ✅ Oct 5, 2021. Add ECBSR training and testing codes: ECBSR. > ACMMM21: Edge-oriented Convolution Block for Real-time Super Resolution on Mobile Devices
  • ✅ Sep 2, 2021. Add SwinIR training and testing codes: SwinIR by Jingyun Liang. More details are in HOWTOs.md
  • ✅ Aug 5, 2021. Add NIQE, which produces the same results as MATLAB (both are 5.7296 for tests/data/baboon.png).
  • ✅ July 31, 2021. Add bi-directional video super-resolution codes: BasicVSR and IconVSR. > CVPR21: BasicVSR: The Search for Essential Components in Video Super-Resolution and Beyond
  • More

If BasicSR helps your research or work, please help to ⭐ this repo or recommend it to your friends. Thanks😊
Other recommended projects:
▶️ Real-ESRGAN: A practical algorithm for general image restoration
▶️ GFPGAN: A practical algorithm for real-world face restoration
▶️ facexlib: A collection that provides useful face-relation functions.
▶️ HandyView: A PyQt5-based image viewer that is handy for view and comparison.
▶️ HandyFigure: Open source of paper figures
(ESRGAN, EDVR, DNI, SFTGAN) (HandyCrawler, HandyWriting)


⚡ HOWTOs

We provide simple pipelines to train/test/inference models for a quick start. These pipelines/commands cannot cover all the cases and more details are in the following sections.

| GAN | | | | | | | :------------------- | :--------------------------------------------: | :----------------------------------------------------: | :------- | :--------------------------------------------: | :----------------------------------------------------: | | StyleGAN2 | Train | Inference | | | | | Face Restoration | | | | | | | DFDNet | - | Inference | | | | | Super Resolution | | | | | | | ESRGAN | TODO | TODO | SRGAN | TODO | TODO | | EDSR | TODO | TODO | SRResNet | TODO | TODO | | RCAN | TODO | TODO | SwinIR | Train | Inference | | EDVR | TODO | TODO | DUF | - | TODO | | BasicVSR | TODO | TODO | TOF | - | TODO | | Deblurring | | | | | | | DeblurGANv2 | - | TODO | | | | | Denoise | | | | | | | RIDNet | - | TODO | CBDNet | - | TODO |

Projects that use BasicSR

  • Real-ESRGAN: A practical algorithm for general image restoration
  • GFPGAN: A practical algorithm for real-world face restoration

If you use BasicSR in your open-source projects, welcome to contact me (by email or opening an issue/pull request). I will add your projects to the above list 😊

📜 License and Acknowledgement

This project is released under the Apache 2.0 license.
More details about license and acknowledgement are in LICENSE.

🌏 Citations

If BasicSR helps your research or work, please cite BasicSR.
The following is a BibTeX reference. The BibTeX entry requires the url LaTeX package.

latex @misc{basicsr, author = {Xintao Wang and Liangbin Xie and Ke Yu and Kelvin C.K. Chan and Chen Change Loy and Chao Dong}, title = {{BasicSR}: Open Source Image and Video Restoration Toolbox}, howpublished = {\url{https://github.com/XPixelGroup/BasicSR}}, year = {2022} }

Xintao Wang, Liangbin Xie, Ke Yu, Kelvin C.K. Chan, Chen Change Loy and Chao Dong. BasicSR: Open Source Image and Video Restoration Toolbox. https://github.com/xinntao/BasicSR, 2022.

📧 Contact

If you have any questions, please email xintao.alpha@gmail.com, xintao.wang@outlook.com.


  • QQ群: 扫描左边二维码 或者 搜索QQ群号: 320960100   入群答案:互帮互助共同进步
  • 微信群: 我们的一群已经满500人啦,二群也超过200人了;进群可以添加 Liangbin 的个人微信 (右边二维码),他会在空闲的时候拉大家入群~

visitors (start from 2022-11-06)

Owner

  • Name: XPixelGroup
  • Login: XPixelGroup
  • Kind: organization
  • Email: xpixelgroup@outlook.com
  • Location: China

Our vision is to make the world look clearer and better!

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this project, please cite it as below."
title: "BasicSR: Open Source Image and Video Restoration Toolbox"
version: 1.3.5
date-released: 2022-02-16
url: "https://github.com/XPixelGroup/BasicSR"
license: Apache-2.0
authors:
  - family-names: Wang
    given-names: Xintao
  - family-names: Xie
    given-names: Liangbin
  - family-names: Yu
    given-names: Ke
  - family-names: Chan
    given-names: Kelvin C.K.
  - family-names: Loy
    given-names: Chen Change
  - family-names: Dong
    given-names: Chao

GitHub Events

Total
  • Commit comment event: 1
  • Issues event: 34
  • Watch event: 859
  • Issue comment event: 53
  • Pull request event: 4
  • Fork event: 160
Last Year
  • Commit comment event: 1
  • Issues event: 34
  • Watch event: 859
  • Issue comment event: 53
  • Pull request event: 4
  • Fork event: 160

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 494
  • Total Committers: 20
  • Avg Commits per committer: 24.7
  • Development Distribution Score (DDS): 0.063
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Xintao w****4@1****m 463
Liangbin l****e@s****n 7
Khoa D. Vo k****e@g****m 3
Cugtyt c****t@q****m 3
wwhio w****o@l****m 3
Xiaoyu Xiang h****g@f****m 1
Cruise_Hua z****1@q****m 1
Henry Mai h****i 1
Jeremy Vonderfecht 7****V 1
Lingbo Yang 3****u 1
Mingdeng 9****7@q****m 1
Mingyan Zhu h****y@g****m 1
Veljko Tornjanski t****o@g****m 1
XPixeler 1****r 1
csjliang 6****g 1
iBobby 4****S 1
ira7bar 3****r 1
orgoro or@d****m 1
wenlong z****7@g****m 1
zenjieli 4****i 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 190
  • Total pull requests: 44
  • Average time to close issues: 3 months
  • Average time to close pull requests: 2 months
  • Total issue authors: 170
  • Total pull request authors: 31
  • Average comments per issue: 1.66
  • Average comments per pull request: 0.75
  • Merged pull requests: 8
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 35
  • Pull requests: 7
  • Average time to close issues: 21 days
  • Average time to close pull requests: N/A
  • Issue authors: 32
  • Pull request authors: 5
  • Average comments per issue: 0.49
  • Average comments per pull request: 0.14
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • DachunKai (5)
  • Yzs007 (3)
  • aldogan17 (3)
  • DejaVuyan (2)
  • monkeycc (2)
  • qwerdf4 (2)
  • akasupercode (2)
  • cc5232 (2)
  • DavisMeee (2)
  • Spacei567 (2)
  • dongzhue (2)
  • TiankaiHang (2)
  • thd-ux (2)
  • qtct (2)
  • zahra-moammeri (2)
Pull Request Authors
  • LiangbinXie (7)
  • ghost (2)
  • wwhio (2)
  • SaintFresh (2)
  • saidineshpola (2)
  • DongKat (2)
  • sipsmehta (2)
  • 183amir (2)
  • Adam-Haas (2)
  • Renzhihan (2)
  • lantel-wm (2)
  • TornjV (2)
  • h-ann (2)
  • ljzycmd (2)
  • xinntao (2)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/publish-pip.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v1 composite
  • pypa/gh-action-pypi-publish master composite
.github/workflows/pylint.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/release.yml actions
  • actions/checkout v2 composite
  • actions/create-release v1 composite
docs/requirements.txt pypi
  • Pillow *
  • addict *
  • future *
  • lmdb *
  • numpy *
  • opencv-python *
  • pyyaml *
  • recommonmark *
  • requests *
  • scikit-image *
  • scipy *
  • sphinx *
  • sphinx_intl *
  • sphinx_markdown_tables *
  • sphinx_rtd_theme *
  • tb-nightly *
  • torch >=1.7
  • torchvision *
  • tqdm *
  • yapf *
requirements.txt pypi
  • Pillow *
  • addict *
  • future *
  • lmdb *
  • numpy >=1.17
  • opencv-python *
  • pyyaml *
  • requests *
  • scikit-image *
  • scipy *
  • tb-nightly *
  • torch >=1.7
  • torchvision *
  • tqdm *
  • yapf *