Giter Site home page Giter Site logo

udcunet's Introduction

Environment

  • Python >= 3.7
  • PyTorch >= 1.7
  • NVIDIA GPU + CUDA

Installation

pip install -r requirements.txt
python setup.py develop

How To Inference or Test

  • Refer to ./options/test for the configuration file of the model to be tested.
  • Download the pretrained model from Google Drive and put it into ./experiments/UDCUNet_4gpu_pretrained/models .
  • Prepare the testing data (validation data) into ./datasets/test/input (./datasets/validation/input and ./datasets/validation/GT)
  • All datasets can be downloaded at the MIPI Challenage official website.
  • Then run the follwing codes (Inference for example):
python basicsr/test.py -opt options/inference/UDCUNet_inference.yml

The testing results will be saved in the ./results folder.

How To Train

  • Refer to ./options/train for the configuration file of the model to train.
  • Prepare the training data in ./datasets/training/input and ./datasets/training/GT
  • All datasets can be downloaded at the MIPI Challenage official website.
  • The training command is like
CUDA_VISIBLE_DEVICES=0 python basicsr/train.py -opt options/train/UDCUNet_train.yml
CUDA_VISIBLE_DEVICES=0,1,2,3 python -m torch.distributed.launch --nproc_per_node=4 --master_port=4321 basicsr/train.py -opt options/train/UDCUNet_train.yml --launcher pytorch

For more training commands and details, please check the docs in BasciSR

Contact

If you have any question, please email [email protected].

udcunet's People

Contributors

j-fhu 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.