Giter Club home page Giter Club logo

ntire_goodgame_track2's Introduction

NTIRE2024_GoodGame

This repository is the official NTIRE 2024 implementation of Team GoodGame in Stereo Image Super-Resolution Challenge - Track 2 Constrained SR & Realistic Degradation. The restoration results of the testing images can be downloaded from here. Our pretrained models can be downloaded from here.

Usage

Installation environment

python 3.8
pytorch 1.11.0
cuda 11.3
git clone [email protected]:Yuqi-Miao/NTIRE_GoodGame_track2.git
cd NTIRE_GoodGame_track2
pip install -r requirements.txt
python setup.py develop --no_cuda_ext

Modify the configuration file options/train/CVHSSR_Sx4.yml and options/test/CVHSSR_Sx4.yml as follows:

Train
dataroot_gt: ./data/Flickr1024/trainx4 # replace your dataset path
dataroot_lq: ./data/Flickr1024/trainx4 # replace your dataset path

Test
dataroot_gt: ./data/Flickr1024/Stereo_test/KITTI2012/hr # replace your dataset path
dataroot_lq: ./data/Flickr1024/Stereo_test/KITTI2012/lr_x4 # replace your dataset path

Train

python -m torch.distributed.launch --nproc_per_node=2 --master_port=4329 basicsr/train.py -opt options/train/CVHSSR_Sx4.yml --launcher pytorch

infer

Modify the configuration file options/test/CVHSSR_Sx4.yml as follows:

pretrain_network_g: ../pretrain/besk_ckpt.pth # replace your model checkpoint path

Then you can infer

python basicsr/demo_ssr.py -opt options/test/CVHSSR_Sx4.yml --img_pair_paths ntire_test_stereo_image_path --output_dir output_image_path

Parameters

python basicsr/models/archs/CVHSSR_arch.py

ntire_goodgame_track2's People

Contributors

yuqi-miao 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.