This is the official implementation for Object-IR (PR2026).
Tianli Liao1, Ran Wang1, Siqing Zhang1, Lei Li1, Guangen Liu1, Chenyang Zhao1, Heling Cao1, Peng Li2
1College of Information Science and Engineering, Henan University of Technology
2Institute for Complexity Science, Henan University of Technology
Given any aspect ratio, we construct a rigid mesh for the output resolution and estimate the grid's motion via a CNN-based regression network.
- 2025.12.05: The training code, dataset and pretrained model are online.
- 2025.11.03: The paper of the arXiv version is online.
- python 3.8.5
- numpy 1.24.4
- pytorch 2.4.1
- tensorboard 2.13.0
We implement Object-IR with one GPU of RTX3090. Refer to environment.yml for more details.
First download the COCO dataset (or in Baidu Cloud, extraction code: 1205). Unzip and put the dataset in the "Data/" directory.
Run the following command to start the training:
python train.py
The trained model will be saved in the "model/" directory.
The pre-trained model are available at Google Drive or Baidu Cloud (extraction code: 1205). Please download them and put them in the 'model' folder.
Set the train/test dataset path in Codes/test_output.py and run:
python test_output.py
Set the test dataset path in Codes/test.py and run
python test.py
If you have any questions, please don't hesitate to contact me.
Tianli Liao -- tianli.liao@haut.edu.cn
@article{liao2026object-ir,
title = {Object-IR: Leveraging object consistency and mesh deformation for self-supervised image retargeting},
author = {Tianli Liao and Ran Wang and Siqing Zhang and Lei Li and Guangen Liu and Chenyang Zhao and Heling Cao and Peng Li},
journal = {Pattern Recognition},
volume = {172},
pages = {112651},
year = {2026},
}
