Git Product home page Git Product logo

dsu's Introduction

DSU Source Code

Source repository for our paper entilted "Promoting Saliency From Depth: Deep Unsupervised RGB-D Saliency Detection" accepted by ICLR 2022 conference.


Pre-Implementation

  1. vim ./DenseCRF/README.md
  2. DenseCRF Installation: Refer to DenseCRF Readme.md, and run demo successfully.
  3. Pytorch Environment: Run conda install pytorch torchvision cudatoolkit=10.1 -c pytorch.
  4. Run pip install tqdm.
  5. Run pip install pandas.
  6. Run pip install tensorboardX.
  7. Run pip install fairseq. Possible Question "SyntaxError: invalid syntax", please see FAQ-Q1 below.
  8. Run pip install scipy.
  9. Run pip install matplotlib.

Dataset & Evaluation

  1. The dataset used in this paper you can download directly (Baidu Cloud (Passworde: bn1t) or Google Drive), including training set with initial pseudo-labels, and test set.
  2. We use this toolbox for evaluating all SOD models.

Our DSU Implementation

  1. Modify the path of dataset in python DSU_test.py and python DSU_train.py.
  2. Inference stage (Test your own dataset): python DSU_test.py; Using Pre-trained Model in ./ckpt (Baidu Cloud (Passworde: w5bg) or Google Drive).
  3. Training stage: CUDA_VISIBLE_DEVICES=0 python DSU_train.py
  4. Check the log file: cat ./result.txt

Saliency Results

Our deep unsupervised saliency results can be approached in Baidu Cloud (Passworde: ws1k) or Google Drive. If you want to use our DSU to test on your own dataset, you can load our pretrained ckpt and run python DSU_test.py directly.

Bibtex

@inproceedings{
ji2022promoting,
title={Promoting Saliency From Depth: Deep Unsupervised {RGB}-D Saliency Detection},
author={Wei Ji and Jingjing Li and Qi Bi and Chuan Guo and Jie Liu and Li Cheng},
booktitle={International Conference on Learning Representations},
year={2022}
}

Contact Us

If you have any questions, please contact us ( [email protected] ).


  • FAQ

Question1: When installing fairseq๏ผŒ post an 'SyntaxError: invalid syntax'

Answer1: You can directly update python version, e.g., conda install python=3.7. More details can be found in this channel.

Question2: You should replace the inplace operation by an out-of-place one.

Answer2: This is because *= is not compatible with Python 3.9. q *= self.scaling -> q = q * self.scaling

dsu's People

Contributors

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