Giter Club home page Giter Club logo

suqe's Introduction

Stable Viewport-Based Unsupervised Compressed 360° Video Quality Enhancement

The overall training consists of three steps: training of the baseline model (train_baseline.py), shift prediction model (train_SPM.py), and unsupervised domain adaption (train_UDA.py). Each step requires updating the yml file according to the directory of the data, processing the specified panoramic video data, and training. The example yml files (train_baseline.yml, train_SPM.yml, and train_UDA.yml) corresponding to the three training steps are stored in the config folder.

Environment:

conda create -n SUQE python=3.7 -y && conda activate SUQE
pip install -r requirements.txt

Dataset preparing:

1. Download the dataset through https://github.com/Archer-Tatsu/VQA-ODV.

2. Preparing data through the sequence extraction method:

python sequence_extraction.py

3. Generate LMDB data for training:

python create_lmdb.py --opt_path step1.yml

Examples of instructions required during training (4, 2 and single GPUs):

CUDA_VISIBLE_DEVICES=0,1,2,3 python -m torch.distributed.launch --nproc_per_node=4 --master_port=12345 train_step1.py --opt_path step1.yml
#CUDA_VISIBLE_DEVICES=0,1 python -m torch.distributed.launch --nproc_per_node=2 --master_port=12354 train_step1 --opt_path step1.yml
#CUDA_VISIBLE_DEVICES=0 python train_step1 --opt_path step1.yml

Test the trained model and obtain the corresponding indicator values:

python PanEnh.py 

suqe's People

Contributors

zzz0326 avatar

Watchers

 avatar

Forkers

maouestc

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.