solangii / PhyDIR

PhyDIR(2022 CVPR) Unofficial PyTorch Implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PhyDIR

Pytorch implementation of Physically-Guided Disentangled Implicit Rendering for 3D Face Modeling (2022 CVPR)

πŸ’» Setup

env: nsml v2
gpu: V100-1
  1. Environment setup
  2. Dataset setup
  3. Training
    • change phydir path, conda path and config name

Example:

cd [phydir] && \
source /home/nsml/anaconda3/etc/profile.d/conda.sh && \
conda activate unsup3d && \
python run.py --config configs/[cfg_name].yml --gpu 0 --num_workers 4

πŸ“ File Structure

--------------------
β”œβ”€β”€ data
β”‚   β”œβ”€β”€ celeba
β”‚   β”‚   β”œβ”€β”€ train
β”‚   β”‚   β”œβ”€β”€ val
β”‚   β”‚   β”œβ”€β”€ test
β”‚   β”‚   β”‚   β”œβ”€β”€ datalist ([id].json)
β”‚   β”‚   β”‚   β”œβ”€β”€ *.jpg
|   β”œβ”€β”€ casia
|   β”œβ”€β”€ celebamask_hq
β”œβ”€β”€ configs
β”‚   β”œβ”€β”€ *.yml
β”œβ”€β”€ phydir
β”‚   β”œβ”€β”€ datasets
|   β”œβ”€β”€ models
|   β”œβ”€β”€ *.py
β”œβ”€β”€ results
β”œβ”€β”€ run.py 
--------------------

References

About

PhyDIR(2022 CVPR) Unofficial PyTorch Implementation


Languages

Language:Python 100.0%