Download decoder.pth/vgg_normalized.pth and put them under models/
.
Use --content
and --style
to provide the respective path to the content and style image.
Run the following code to test
CUDA_VISIBLE_DEVICES=<gpu_id> python tests/test_AdaIN.py --content tests/input/cornell.jpg --style tests/style/woman_with_hat_matisse.jpg
This code adapts the official implementation of "3D Human Texture Estimation from a Single Image with Transformers", ICCV 2021 (Oral)
[3] "SMPL: A Skinned Multi-Person Linear Model", SIGGRAPH Asia, 2015
[5] "Learning Factorized Weight Matrix for Joint Filtering", ICML, 2020
[6] "Style normalization and restitution for generalizable person re-identification", CVPR, 2020
[7] "3D Human Texture Estimation from a Single Image with Transformers", ICCV 2021 (Oral)
[8] "Arbitraty Style Transfer in Real-time with Adaptive Instance Normalization", ICCV 2017 (Oral)