Giter VIP home page Giter VIP logo

sama's Introduction

SAMA Overview

PyTorch implementation of "Scaling and Masking: A New Paradigm of Data Sampling for Image and Video Quality Assessment" (arXiv/AAAI), which has been accepted by AAAI-2024.

This code is modified from FAST-VQA.

Usage

IQA

For image quality assessment (IQA), please refer to IQA/demo_train_iqa_baseline.py.

VQA

For video quality assessment (VQA), please refer to VQA/demo_train.py to get the training result, and refer to VQA/demo_finetune.py to get the finetuning result. We also provide the training log for VQA.

The main idea/contribution lies in the data sampling, which can be found in IQA and VQA.

Make sure the configuration has been properly set in

And please prepare the pretrained models of video-swin for VQA and swin-v2 for IQA.

Testing with pretrained model on videos

We have provided the pretrained weights (trained on LSVQ train set): GoogleDrive / BaiDu (Code:xyns). please check the pretrained weights in ./VQA/pretrained_weights folder and put the weights in the folder.

To test on your own dataset or video files, please construct the dataset information as the examplar in ./VQA/examplar_data_labels, and set the configuration in fast-SAMA-test.yml. Run the file demo_test.py to check the details.

Environment

Different environment may induce possible fluctuation of performance.

Python 3.8.10
PyTorch 1.7.0

The installation can refer to FAST-VQA.

Citation

If you are interested in the work, or find the code helpful, please cite our work

@article{sama2024,
        title={Scaling and Masking: A New Paradigm of Data Sampling for Image and Video Quality Assessment},
        volume={38},
        number={4},
        journal={Proceedings of the AAAI Conference on Artificial Intelligence},
        author={Liu, Yongxu and Quan, Yinghui and Xiao, Guoyao and Li, Aobo and Wu, Jinjian},
        year={2024},
        month={Mar.},
        pages={3792-3801},
        url={https://ojs.aaai.org/index.php/AAAI/article/view/28170},
        DOI={10.1609/aaai.v38i4.28170}
}

Contact

Feel free to contact me via [email protected] if any question or bug.

sama's People

Contributors

sissuire avatar

Stargazers

Jun Fu avatar 姬忠鹏 avatar  avatar Gzu_cwf avatar  avatar Zhihao Ma avatar Xiaobing Han avatar  avatar  avatar dc avatar hanwei avatar Lu Ming avatar Weixia Zhang avatar Zicheng Zhang avatar Teo (Timothy) Wu Haoning avatar

Watchers

 avatar Kostas Georgiou avatar

sama's Issues

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.