Skip to content

jhchan0805/ReLeaPS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReLeaPS : Reinforcement Learning-based Illumination Planning for Generalized Photometric Stereo

[GitHub] [Homepage] [Video]

Prerequisites

  • The code is tested on Linux with Python 3.10.
  • Install requirements from requirements.txt before running.

Setup

This repo contains sub-module. Clone this repo:

git clone --recurse-submodules https://github.com/jhchan0805/ReLeaPS
  • To train and evaluate on CNN-PS backbone, download the pre-trained model weight_and_model.hdf5 to data according to CNN-PS.
  • To train and evaluate on PS-FCN backbone, download the pre-trained model PS-FCN_B_S_32_normalize.pth.tar to src/PS-FCN/data/models according to PS-FCN.
  • To evaluate on DiLiGenT dataset, download DiLiGenT.zip to data according to DiLiGenT.

Training

  • Download the synthetic dataset for training from: datasets and place under data.
  • Run run_train.sh.

Evaluation

  • Train the models yourself or download the pre-trained models from: TBD and place under data/models.
  • Run run_benchmark.sh.

Citation

If you find our work useful for your research, please consider citing:

@InProceedings{jh2023releaps,
    author = {Chan, Junhoong and Yu, Bohan and Guo, Heng and Ren, Jieji and Lu, Zongqing and Shi, Boxin},
    title = {{ReLeaPS}: Reinforcement Learning-based Illumination Planning for Generalized Photometric Stereo},
    booktitle = {Proceedings of the International Conference on Computer Vision (ICCV)},
    month = {October},
    year = {2023},
}

Copyright (c) 2022-2023 Bohan Yu. All rights reserved.
ReLeaPS is free software licensed under GNU Affero General Public License version 3 or latter.

About

Illumination Planning for Generalised Photometric Stereo using Reinforcement Learning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published