Giter Site home page Giter Site logo

adanec's Introduction

Update

The repository will be maintained at https://github.com/csmliu/AdaNEC.

AdaNEC

The implementation of Anonymous Submission 3582 "Adaptive Network Combination for Single-Image Reflection Removal: A Domain Generalization Perspective"

Envoronment

This repo has been tested in the following environment

  • Platforms: Ubuntu 20.04
  • Framework: We use PyTorch 1.8, and it should work with PyTorch 1.2 - PyTorch 1.10
  • Requirements: opencv-python, tensorboardX, visdom, dominate, scikit-image, etc
  • GPU: We use RTX 3090 with CUDA 11

Quick Start

Downloading this repository

We provide the pre-trained model via git-lfs (large file storage), please clone this repository via one of the following methods.

  1. git lfs clone https://github.com/Anonymous3582/AdaNEC or
  2. git clone https://github.com/Anonymous3582/AdaNEC, then download the pre-trained model from this page, and place it in the checkpoints/ERRNet_AdaNEC_OF folder.

Preparing your testing datasets

Note that we have provided the Real20 testing set in the datasets folder, and the SIR^2 subsets are not provided due to their policy. You can request for them and organize the SIR^2 sub-datasets as Real20.

Testing

We provide two working schemes of AdaNEC, i.e., output fusion (OF) and network interpolation (NI).

Output Fusion (OF)

The OF model has been provided, you can run the OF scheme via

$ bash test_AdaNEC_OF.sh

Network Interpolation (NI)

The NI model can be generated by running python merge_model.py under the checkpoints/ERRNet_AdaNEC_NI directory. And then the NI scheme can be excueted via

$ bash test_AdaNEC_NI.sh

Particularly note that you should generate an NI model for each testing dataset. Please see merge_model.py for more details.

Results

The results will be placed in the results folder.

Acknowledgments

The code is built upon ERRNet, one of the backbone models of our work. We will include their github commits when releasing the code publicly. We highly appreciate all the authors of ERRNet, IBCLN, and RAGNet for their efforts.

adanec's People

Contributors

anonymous3582 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.