-
Download source code and dataset:
-
Pip install dependencies:
conda env create -f install.yaml
Unzip and move dataset into ROOT
├── PGRDiff
│ ├── code
│ ├── DUNHUANG
│ │ ├── train
│ │ ├── test
│ ├── muralv2
│ │ ├── images
│ │ ├── masks
│ ├── install.yaml
│ ├── README.md
cd ./code
python train.py
or
accelerate launch train.py
cd ./code
python metric.py
├── code
├── DUNHUANG
│ ├── train
│ ├── test
├──muralv2
│ ├── images
│ ├── masks
├── install.yaml
├── README.md
cd ./code
python train.py
or
accelerate launch train.py
cd ./code
python metric.py
- Download the weights of trained models
- Move the weights into the folder
./code/results/sample/
This implementation is based on / inspired by: