Official Implementation of SPIFu (NeurIPS 2022 )
SPIFu trained on Groundtruth SMPL-X (Will follow the SMPL-X pose more closely; Put downloaded folder under "SPIFu/apps/checkpoints/", then modify "checkpoint_folder_to_load_low_res" in train_smpl_unrolled.py ): https://drive.google.com/drive/folders/1ZP20tEMopzizL_obERDeRJy_b3jTeNWl?usp=sharing
SPIFu trained on Predicted SMPL-X (More robust to errors in SMPL-X pose errors; Put downloaded folder under "SPIFu/apps/checkpoints/", then modify "checkpoint_folder_to_load_low_res" and "epoch_to_load_from_low_res" (i.e. Set to 8) in train_smpl_unrolled.py ): https://drive.google.com/drive/folders/1Edi7rSYd9hBYGoO2kUkkN1gbv99OCs-5?usp=sharing
Frontal Normal Map generator: https://drive.google.com/file/d/10_6w4DKODuzYxC88UgwPp5jHb6SPg7_5/view?usp=share_link
Rear Normal Map generator: https://drive.google.com/file/d/10FD3qNyGw6fajoBEsHMOLeehM_F63z4T/view?usp=share_link
After permission granted, download the dataset (THuman2.0_Release). Put the "THuman2.0_Release" folder inside the "rendering_script" folder.
Please refer to https://github.com/kcyt/IntegratedPIFu. Note that Depth maps are not required here.
Please follow the installation instructions from smplx from https://github.com/vchoutas/smplx#installation. Then, use smplify-x (https://github.com/vchoutas/smplify-x) on the rendered RGB images from Step 2.
Run the script unroll_gt_smplx.py or unroll_predicted_smplx.py depending on whether you want to apply RBS on the groundtruth smplx fittings or the predicted smplx fittings from smplify-x.
Run the script train_normalmodel.py. After the model is trained, run the script generatemaps_normalmodel.py to generated the predicted normal maps.
Run the script train_smpl_unrolled.py. Configuration can be set in lib/options.py file.