Skip to content

RammusLeo/ScoreHOI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScoreHOI: Physically Plausible Reconstruction of Human-Object Interaction via Score-Guided Diffusion (ICCV 2025)

[Arxiv Paper]

The repository contains the official implementation for the paper "ScoreHOI: Physically Plausible Reconstruction of Human-Object Interaction via Score-Guided Diffusion" (ICCV 2025).

ScoreHOI is an innovative framework for human-object interaction reconstruction that effectively incorporates physical constraints during the sampling process, providing physically plausible reconstruction results.

💡 Pipeline

😀Quick Start

⚙️ 1. Installation

We recommend you to use an Anaconda virtual environment. If you have installed Anaconda, run the following commands to create and activate a virtual environment.

conda create -n scorehoi python=3.9
conda activate scorehoi 

# Install PyTorch
pip install torch==2.0.0 torchvision==0.15.1 torchaudio==2.0.1 --index-url https://download.pytorch.org/whl/cu118

# Other requirements
pip install -r requirements.txt

💾 2. Data Preparation

We follow the same data preparation steps as CONTHO_Data.

For the checkpoint and the features extracted from the PointNeXt, please refer to our huggingface repository.

data format:

|-- checkpoint
|   |-- backbone.pth.tar
|   |-- scorehoi.pth.tar
|-- data  
|   |-- base_data
|   |   |-- annotations
|   |   |-- backbone_models
|   |   |-- human_models
|   |   |   |-- smplh
|   |   |-- object_models
|   |   |   |-- behave
|   |   |   |   |-- _info_feature.pkl
|   |   |   |-- intercap
|   |   |   |   |-- _info_feature.pkl
|   |-- BEHAVE
|   |   |-- dataset.py
|   |   |-- sequences
|   |   |   |-- Date01_Sub01_backpack_back
|   |   |   |-- Date01_Sub01_backpack_hand
|   |   |   |-- ...
|   |   |   |-- Date07_Sub08_yogamat
|   |-- InterCap
|   |   |-- dataset.py
|   |   |-- sequences
|   |   |   |-- 01
|   |   |   |-- 02
|   |   |   |-- ...
|   |   |   |-- 10

🔧 3. Train & Evaluate

torchrun --master_port 29591 --nproc_per_node 8 \
main/train_diffusion.py \
--gpu 0,1,2,3,4,5,6,7 \
--checkpoint checkpoints/backbone.pth.tar \
--exp train_scorehoi \
--diffusion_dir checkpoints/scorehoi.pth.tar \
--distributed \
--not_continue

🫰 Acknowledgments

We would like to express our sincere thanks to CONTHO, for our code is partially borrowing from them.

We also thank CHORE, InterCap for their high quailty datasets.

❓ Q & A

  1. If you find an error as below, please refer to this link for help.
RuntimeError: Subtraction, the `-` operator, with a bool tensor is not supported. If you are trying to invert a mask, use the `~` or `logical_not()` operator instead.

🔖 Citation

@article{li2025scorehoi,
  title={ScoreHOI: Physically Plausible Reconstruction of Human-Object Interaction via Score-Guided Diffusion},
  author={Li, Ao and Liu, Jinpeng and Zhu, Yixuan and Tang, Yansong},
  journal={arXiv preprint arXiv:2509.07920},
  year={2025}
}

🔑 License

This code is distributed under an MIT LICENSE.

About

Official repository of ScoreHOI (ICCV 2025)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages