Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Hybrid Approach for Closing the Sim2real Appearance Gap in Game Engine Synthetic Datasets

Demonstration

example2

Downstream Tasks

Below is an example of YOLO26-SEG trained (without employing the pretrained weights) on the real-world KITTI dataset and the combination of the real-world KITTI and the photorealism-enhanced (by Hybrid-Sim2Real) VKITTI2 dataset.

vkitti_yolo_seg.mp4

Abstract

Video game engines have been an important source for generating large volumes of visual synthetic datasets for training and evaluating computer vision algorithms that are to be deployed in the real-world. While the visual fidelity of modern game engines has been significantly improved with technologies such as ray-tracing, a notable sim2real appearance gap between the synthetic and the real-world images still remains, which limits the utilization of synthetic datasets in real-world applications. In this letter, we investigate the ability of a state-of-the-art diffusion model (FLUX.2-4B Klein) to enhance the photorealism of synthetic datasets and compare its performance against a traditional image-to-image translation model (REGEN). Furthermore, we propose a hybrid approach that combines the strong geometry and material transformations of diffusion-based methods with the distribution-matching capabilities of image-to-image translation techniques. Through experiments, it is demonstrated that REGEN outperforms FLUX.2-4B Klein and that by combining both FLUX.2-4B Klein and REGEN models, better visual realism can be achieved compared to using each model individually, while maintaining semantic consistency.


Citation

If you used the code of this repository in your work, we would appreciate using the following citation:

@misc{pasios2026hybridapproachclosingsim2real,
      title={A Hybrid Approach for Closing the Sim2real Appearance Gap in Game Engine Synthetic Datasets}, 
      author={Stefanos Pasios},
      year={2026},
      eprint={2605.02291},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2605.02291}, 
}

Requirements

This project relies on the following models:

  • FLUX.2-4B Klein
  • REGEN (Optionally HyPER-GAN)

Please refer to their official repositories for installation and requirements:

How to Run

  1. Configure the parameters in the options.yaml configuration file:

    • Path to the REGEN or HyPER-GAN pretrained model (can be found here and here)
    • Path to the input images
    • Path to the output directory
    • Image-to-Image translation model (regen or hypergan)
    • Desired resolution for the photorealism-enhanced (output) images (optimal is null)
    • Hugging Face token for accessing FLUX.2-4B Klein
  2. Run the enhancer script:

python enhancer.py

About

Code for the paper "A Hybrid Approach for Closing the Sim2real Appearance Gap in Game Engine Synthetic Datasets"

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages