Skip to content

Yu-chen-Deng/LAPIG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LAPIG: Language Guided Projector Image Generation with Surface Adaptation and Stylization [IEEE TVCG/VR'25]

Project Page | Data

Introduction

PyTorch's implementation of LAPIG.

Prerequisites

  • PyTorch compatible GPU
  • Conda (Python 3.10.4)

Usage

Apply LAPIG to your own setup

  1. Create a new conda environment:

    conda env create -f environment.yaml
    activate LAPIG       # Windows
    conda activate LAPIG # Linux
    
  2. Clone this repo:

    git clone https://github.com/Yu-chen-Deng/LAPIG
    cd LAPIG
    
  3. Download LAPIG sampling images (~25.8 MB) and extract to data/Compen+Relit/, the file like this:

    data/Compen+Relit
     |
     |_ /prj
    
  4. Run utils/register_utils_LAPIG.py.

  5. Start visdom by typing the following command in local or server command line: visdom -port 8097 (or directly run run_LAPIG.py).

  6. Once visdom is successfully started, visit http://localhost:8097 (train locally) or http://server:8097 (train remotely).

  7. Open run_LAPIG.py and set which GPUs to use. An example is shown below, we use GPU 0. os.environ['CUDA_VISIBLE_DEVICES'] = '0'

  8. Build setup and modify surface in config.yaml:

    setup_name: 'test' # MODIFY 'test'
    
  9. Run run_LAPIG.py to reproduce benchmark results. To visualize the training process in visdom (slower), you need to set plot_on=True.

    python run_LAPIG.py
    

Citation

If you use the dataset or this code, please consider citing our work:

@ARTICLE{Deng2025LAPIG,
  author  = {Deng, Yuchen and Ling, Haibin and Huang, Bingyao},
  journal = {IEEE Transactions on Visualization and Computer Graphics},
  title   = {LAPIG: Language Guided Projector Image Generation with Surface Adaptation and Stylization},
  year    = {2025},
  doi     = {10.1109/TVCG.2025.3549859}
}

Acknowledgments

  • This code borrows heavily from
  • We thank the anonymous reviewers for valuable and inspiring comments and suggestions.
  • We thank the authors of the colorful textured sampling images.
  • Feel free to open an issue if you have any questions/suggestions/concerns 😁.

License

This software is available free of charge for non-commercial, non-profit use and may be redistributed under the terms specified in license.

About

[TVCG & VR'25] LAPIG: Language Guided Projector Image Generation with Surface Adaptation and Stylization

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages