unsup3d-jittor
unsup3d-jittor copied to clipboard
Jittor Implementation for the pepar Unsupervised Learning of Probably Symmetric Deformable 3D Objects from Images in the Wild (CVPR 2020 oral).
Jittor Implementation for the pepar Unsupervised Learning of Probably Symmetric Deformable 3D Objects from Images in the Wild (CVPR 2020 oral).
Datasets
- CelebA face dataset. Please download the original images (
img_celeba.7z) from their website and runceleba_crop.pyindata/to crop the images. - Synthetic face dataset generated using Basel Face Model. This can be downloaded using the script
download_synface.shprovided indata/. - Cat face dataset composed of Cat Head Dataset and Oxford-IIIT Pet Dataset (license). This can be downloaded using the script
download_cat.shprovided indata/.
Please remember to cite the corresponding papers if you use these datasets.
Training
Check the configuration files in experiments/ and run experiments, eg:
git clone https://github.com/Jittor/unsup3d-jittor
cd unsup3d-jittor
bash install.sh
python3.7 run.py --config experiments/train_synface.yml
Testing
Check the configuration files in experiments/ and run experiments, eg:
python3.7 run.py --config experiments/test_synface.yml
Pretrained model
Here we provide our pretrained synface model trained using the default config experiments/train_synface.yml. You can run the following scripts to test Table 2 in the paper.
bash pretrained/download_pretrained_synface.sh
python3.7 run.py --config experiments/test_synface.yml
The following is SIDE and MAD compared with original paper (Table 2).
| SIDE(×10−2) ↓ | MAD (deg.) ↓ | |
|---|---|---|
| Jittor | 0.769±0.136 | 15.99±1.49 |
| Original paper | 0.793±0.140 | 16.51±1.56 |
Citation
@InProceedings{Wu_2020_CVPR,
author = {Shangzhe Wu and Christian Rupprecht and Andrea Vedaldi},
title = {Unsupervised Learning of Probably Symmetric Deformable 3D Objects from Images in the Wild},
booktitle = {CVPR},
year = {2020}
}