Git Product home page Git Product logo

dhd's Introduction

Toward Open-set Human Object Interaction Detection

python pytorch pocket license

This repository contains the official PyTorch implementation for the paper Toward Open-set Human Object Interaction Detection (AAAI2024).

Model Zoo

We provide weights for DHD models trained on HICO-DET.

Model Dataset Default Settings DHD Weights GroundingDINO Weights
DHD HICO-DET (29.91, 28.42, 30.35) weights weights

Prerequisites

  1. Install the lightweight deep learning library Pocket. The recommended PyTorch version is 1.9.0. Make sure the environment for Pocket is activated (conda activate pocket), and install the packaging library with pip install packaging.

  2. init GroundingDINO and CLIP(from VIPLO).

  3. Prepare the HICO-DET dataset.

    1. If you have not downloaded the dataset before, run the following script.
    cd /path/to/dhd/hicodet
    bash download.sh
    1. If you have previously downloaded the dataset, simply create a soft link.
    cd /path/to/dhd/hicodet
    ln -s /path/to/hicodet_20160224_det ./hico_20160224_det
  4. Prepare the V-COCO dataset (contained in MS COCO).

    1. If you have not downloaded the dataset before, run the following script
    cd /path/to/dhd/vcoco
    bash download.sh
    1. If you have previously downloaded the dataset, simply create a soft link
    cd /path/to/dhd/vcoco
    ln -s /path/to/coco ./mscoco2014
  5. Prepare the VG dataset from VG.

    1. If you have downloaded the dataset, simply create a soft link
    cd /path/to/dhd/vg
    ln -s /path/to/vg ./vg
  6. Prepare the preprocessed annotations, from vg and hicodet, and put them into the corresponding dataset directory.

License

DHD is released under the BSD-3-Clause License.

Training and Testing

Refer to train.sh for training and test.sh for testing commands with different options.

Citation

@inproceedings{wu2024toward,
  title={Toward Open-Set Human Object Interaction Detection},
  author={Wu, Mingrui and Liu, Yuqi and Ji, Jiayi and Sun, Xiaoshuai and Ji, Rongrong},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  volume={38},
  number={6},
  pages={6066--6073},
  year={2024}
}

Acknowledge

This repo is based on UPT.

dhd's People

Contributors

mrwu-mac avatar

Stargazers

 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.