Git Product home page Git Product logo

videosuperresolution's Introduction

VideoSuperResolution

AI+4K HDR competition from Kesci Community

模型文件

项目的文件结构

  • codes
    • test.py
    • test_HDR.py
    • test_HDR_woGT.py
    • train.py
    • data
    • metrics
    • models
    • options
    • scripts
    • utils
  • experiments
    • 模型文件
  • results
    • 保存图片的路径

项目的运行步骤

训练模型

cd codes
python -m torch.distributed.launch --nproc_per_node=8 --master_port=4321 train.py -opt options/train/train_EDVR_L2.yml --launcher pytorch

train_EDVR_L2.yml为配置文件,需要修改meta_info.pkl、图片路径、预训练模型路径。

  • 模型文件放置在 ../experiments/pretrained_models/136000_G.pth

测试模型

  1. 运行测试脚本,生成图片

    cd codes
    # 需要注意修改模型路径和图片路径,该脚本是跑8张卡,省时间,可以改为1张卡跑完
    ./run_test_woGT.sh
    
  2. 在results文件夹中含有生成的结果

生成视频

# 修改脚本中的图片结果路径和视频生成路径
cd results
python convert_to_h265.py

运行结果的位置

../results/HDR/test/test_128_wTSA/HDR/

可自定义

videosuperresolution's People

Contributors

veigar1992 avatar

Stargazers

 avatar  avatar  avatar Xinyang Pu avatar  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.