GithubHelp home page GithubHelp logo

soulattacker / hyperiqa Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ssl92/hyperiqa

0.0 1.0 0.0 2.09 MB

Source code for the CVPR'20 paper "Blindly Assess Image Quality in the Wild Guided by A Self-Adaptive Hyper Network"

Python 100.00%

hyperiqa's Introduction

HyperIQA

This is the source code for the CVPR'20 paper "Blindly Assess Image Quality in the Wild Guided by A Self-Adaptive Hyper Network".

Dependencies

  • Python 3.6+
  • PyTorch 0.4+
  • TorchVision
  • scipy

(optional for loading specific IQA Datasets)

  • csv (KonIQ-10k Dataset)
  • openpyxl (BID Dataset)

Usages

Testing a single image

Predicting image quality with our model trained on the Koniq-10k Dataset.

To run the demo, please download the pre-trained model at Google drive or Baidu cloud (password: 1ty8), put it in 'pretrained' folder, then run:

python demo.py

You will get a quality score ranging from 0-100, and a higher value indicates better image quality.

Training & Testing on IQA databases

Training and testing our model on the LIVE Challenge Dataset.

python train_test_IQA.py

Some available options:

  • --dataset: Training and testing dataset, support datasets: livec | koniq-10k | bid | live | csiq | tid2013.
  • --train_patch_num: Sampled image patch number per training image.
  • --test_patch_num: Sampled image patch number per testing image.
  • --batch_size: Batch size.

When training or testing on CSIQ dataset, please put 'csiq_label.txt' in your own CSIQ folder.

Citation

If you find this work useful for your research, please cite our paper:

@InProceedings{Su_2020_CVPR,
author = {Su, Shaolin and Yan, Qingsen and Zhu, Yu and Zhang, Cheng and Ge, Xin and Sun, Jinqiu and Zhang, Yanning},
title = {Blindly Assess Image Quality in the Wild Guided by a Self-Adaptive Hyper Network},
booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
month = {June},
year = {2020}
}

hyperiqa's People

Contributors

ssl92 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.