GithubHelp home page GithubHelp logo

grassbro / ocor Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 0.0 7.41 MB

Bi-directional Object-context Prioritization Learning for Saliency Ranking

License: MIT License

Python 99.87% Dockerfile 0.07% Shell 0.06%

ocor's Introduction

OCOR

This is a reproduction of the CVPR'22 paper, Bi-directional Object-context Prioritization Learning for Saliency Ranking.

Installation

step 1: install pytorch and mmcv==1.3.9 referring to this.

step 2: clone this repository and execute:

python setup.py develop

step 3: install apex following this. (optional)

Dataset

Download COCO-style JSON files for the ASSR dataset from: https://pan.baidu.com/s/1XvYwBCn3sc6lAlJbJ94gUQ (pwd: ocor)

Training

bash tools/dist_train.sh configs/ocor/ocor_swin...py num_gpus 

Inference & Evaluation

python inference.py
python evaluate_SOR.py

Pre-trained Model

Download it from our Baidu cloud: https://pan.baidu.com/s/15tINLiVC8kPQm6xqxyaJlA (pwd: ocor), then use it for fine-tuning, and inference.

Results

Visual results for ASSR dataset: https://pan.baidu.com/s/1V3MzSBWI_5UNSfC1YCVf3g (pwd: ocor)

Citation

@inproceedings{tian2022bi,
  title={Bi-directional object-context prioritization learning for saliency ranking},
  author={Tian, Xin and Xu, Ke and Yang, Xin and Du, Lin and Yin, Baocai and Lau, Rynson WH},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  pages={5882--5891},
  year={2022}
}

ocor's People

Contributors

grassbro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ocor's Issues

训练代码

作者你好,请问dist_train.sh或者训练代码在哪里~谢谢

saliency ranking loss

作者您好,论文中提到使用pair-wise ranking loss来训练排序头,但是我在代码中并没有找到,烦请您告知位置。

ocor module以及saliency ranking loss

作者你好,在看您的代码时,我没有找到您论文中提到的ocor module以及训练中用到的saliency ranking loss,请问可以告知在哪嘛?

预训练模型

作者你好,请问开源的预训练模型是在什么数据集上预训练的

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.