├── .gitignore ├── DataSet_Step1_Inversion ├── .gitignore ├── configs │ ├── __init__.py │ ├── data_configs.py │ ├── paths_config.py │ └── transforms_config.py ├── criteria │ ├── __init__.py │ ├── id_loss.py │ ├── lpips │ │ ├── __init__.py │ │ ├── lpips.py │ │ ├── networks.py │ │ └── utils.py │ ├── moco_loss.py │ └── w_norm.py ├── datasets │ ├── __init__.py │ ├── gt_res_dataset.py │ ├── images_dataset.py │ └── inference_dataset.py ├── editings │ ├── ganspace.py │ ├── ganspace_pca │ │ ├── cars_pca.pt │ │ └── ffhq_pca.pt │ ├── interfacegan_directions │ │ ├── age.pt │ │ ├── pose.pt │ │ └── smile.pt │ ├── latent_editor.py │ └── sefa.py ├── metrics │ └── LEC.py ├── models │ ├── __init__.py │ ├── discriminator.py │ ├── encoders │ │ ├── __init__.py │ │ ├── helpers.py │ │ ├── model_irse.py │ │ └── psp_encoders.py │ ├── latent_codes_pool.py │ ├── psp.py │ └── stylegan2 │ │ ├── __init__.py │ │ ├── model.py │ │ └── op │ │ ├── __init__.py │ │ ├── fused_act.py │ │ ├── fused_bias_act.cpp │ │ ├── fused_bias_act_kernel.cu │ │ ├── upfirdn2d.cpp │ │ ├── upfirdn2d.py │ │ └── upfirdn2d_kernel.cu ├── options │ ├── __init__.py │ └── train_options.py ├── run_e4e_inversion.py ├── scripts │ ├── calc_losses_on_images.py │ ├── demo.py │ ├── inference.py │ └── train.py ├── training │ ├── __init__.py │ ├── coach.py │ └── ranger.py └── utils │ ├── __init__.py │ ├── alignment.py │ ├── common.py │ ├── data_utils.py │ ├── model_utils.py │ └── train_utils.py ├── DataSet_Step2_Det_Attributes ├── model │ ├── defineHourglass_1024_gray_skip_matchFeature.py │ └── defineHourglass_512_gray_skip.py ├── run_dpr_light.py ├── run_ms_api_attr.py └── utils │ ├── utils_SH.py │ ├── utils_normal.py │ └── utils_shtools.py ├── DataSet_Step3_Editing ├── .gitignore ├── dnnlib │ ├── __init__.py │ ├── submission │ │ ├── __init__.py │ │ ├── internal │ │ │ ├── __init__.py │ │ │ └── local.py │ │ ├── run_context.py │ │ └── submit.py │ ├── tflib │ │ ├── __init__.py │ │ ├── autosummary.py │ │ ├── custom_ops.py │ │ ├── network.py │ │ ├── ops │ │ │ ├── __init__.py │ │ │ ├── fused_bias_act.cu │ │ │ ├── fused_bias_act.py │ │ │ ├── upfirdn_2d.cu │ │ │ └── upfirdn_2d.py │ │ ├── optimizer.py │ │ └── tfutil.py │ └── util.py ├── expression_recognition │ ├── __init__.py │ ├── functional.py │ ├── transforms.py │ └── vgg.py ├── gen_face_from_latent.py ├── gen_face_from_latents_within_folder.py ├── module │ ├── cnf.py │ ├── diffeq_layers.py │ ├── flow.py │ ├── normalization.py │ ├── odefunc.py │ └── utils.py ├── options │ ├── __init__.py │ ├── base_options.py │ ├── test_options.py │ └── train_options.py ├── pretrained_networks.py ├── run_styleflow_editing.py └── utils.py ├── DataSet_Step4_UV_Texture ├── face3d_recon │ ├── __init__.py │ ├── parametric_face_model.py │ ├── recon_network.py │ ├── renderer.py │ └── resnet_backbone.py ├── preprocess │ ├── __init__.py │ └── preprocess_func.py ├── run_unwrap_texture.py ├── tex │ ├── __init__.py │ ├── laplacian_pyramid.py │ ├── poisson_blend.py │ └── tex_func.py ├── third_party │ ├── __init__.py │ ├── face_parsing │ │ ├── face_parsing.py │ │ ├── model.py │ │ └── resnet.py │ ├── landmark68 │ │ ├── BBRegressorParam_r.mat │ │ ├── detect_lm68.py │ │ └── test_mean_face.txt │ └── mtcnn │ │ └── detect_face_with_mtcnn.py └── utils │ ├── __init__.py │ └── data_utils.py ├── FLAME_Apply_HIFI3D_UV ├── flame2hifi3d_assets │ ├── FLAME_w_HIFI3D_UV.obj │ ├── eye_ball_tex.png │ └── uv_coordinates_vis.png └── run_flame_apply_hifi3d_uv.py ├── LICENSE ├── Mesh_Add_EyeBall ├── eye_ball_assets │ ├── eyeLeft_mesh_move.obj │ ├── eyeRight_mesh_move.obj │ ├── eye_ball_tex.mtl │ └── eye_ball_tex.png └── run_mesh_add_eyeball.py ├── README.md ├── README_ckp_topo.md ├── README_create_uv_texture.md ├── README_dataset.md ├── README_flame2hifi3d.md ├── README_rgb_fitting.md ├── RGB_Fitting ├── dataset │ └── fit_dataset.py ├── model │ ├── hifi3dpp.py │ ├── losses.py │ ├── optimizers.py │ ├── ours_fit_model.py │ ├── ours_fit_model_cropface630resize1024.py │ ├── renderer_nvdiffrast.py │ ├── uvtex_spherical_fixshape_fitter.py │ └── uvtex_wspace_shape_joint_fitter.py ├── network │ ├── arcface │ │ ├── __init__.py │ │ ├── iresnet.py │ │ └── mobilefacenet.py │ ├── recog.py │ ├── recon_deep3d.py │ ├── resnet │ │ └── backbone.py │ ├── stylegan2 │ │ ├── dnnlib │ │ │ ├── __init__.py │ │ │ └── util.py │ │ ├── networks.py │ │ └── torch_utils │ │ │ ├── __init__.py │ │ │ ├── custom_ops.py │ │ │ ├── misc.py │ │ │ ├── ops │ │ │ ├── __init__.py │ │ │ ├── bias_act.cpp │ │ │ ├── bias_act.cu │ │ │ ├── bias_act.h │ │ │ ├── bias_act.py │ │ │ ├── conv2d_gradfix.py │ │ │ ├── conv2d_resample.py │ │ │ ├── fma.py │ │ │ ├── grid_sample_gradfix.py │ │ │ ├── upfirdn2d.cpp │ │ │ ├── upfirdn2d.cu │ │ │ ├── upfirdn2d.h │ │ │ └── upfirdn2d.py │ │ │ ├── persistence.py │ │ │ └── training_stats.py │ ├── texgan.py │ └── texgan_cropface630resize1024.py ├── step1_process_data.py ├── step2_fit_processed_data.py ├── step2_fit_processed_data_cropface630resize1024.py ├── step2_fit_processed_data_realy.py ├── step3_copy_fitted_mesh.py ├── third_party │ ├── __init__.py │ ├── face_parsing │ │ ├── face_parsing.py │ │ ├── model.py │ │ └── resnet.py │ ├── landmark68 │ │ ├── BBRegressorParam_r.mat │ │ ├── detect_lm68.py │ │ └── test_mean_face.txt │ ├── mtcnn │ │ └── detect_face_with_mtcnn.py │ └── skin_mask │ │ └── skin_mask.py └── utils │ ├── data_utils.py │ ├── laplacian_pyramid.py │ ├── mesh_utils.py │ ├── preprocess_utils.py │ └── visual_utils.py ├── checkpoints └── download and put here ├── demos ├── imgs │ ├── new_version_of_rgb_fitting.png │ ├── sample_flame_mesh.png │ ├── sample_flame_mesh_processed.png │ ├── sample_flame_mesh_processed_maskeyeball.png │ └── sample_hifi3d_uvmap.png ├── teaser.png ├── teaser_1 │ ├── mesh_eye_ball_L.obj │ ├── mesh_eye_ball_R.obj │ ├── mesh_head.obj │ ├── tex_eye_ball.mtl │ ├── tex_eye_ball.png │ ├── tex_uv.mlt │ └── tex_uv.png ├── teaser_2 │ ├── mesh_eye_ball_L.obj │ ├── mesh_eye_ball_R.obj │ ├── mesh_head.obj │ ├── tex_eye_ball.mtl │ ├── tex_eye_ball.png │ ├── tex_uv.mlt │ └── tex_uv.png └── teaser_3 │ ├── mesh_eye_ball_L.obj │ ├── mesh_eye_ball_R.obj │ ├── mesh_head.obj │ ├── tex_eye_ball.mtl │ ├── tex_eye_ball.png │ ├── tex_uv.mlt │ └── tex_uv.png ├── examples ├── dataset_examples │ ├── attributes │ │ └── 01223.json │ ├── attributes_ms_api │ │ └── 01223.pkl │ ├── edit │ │ └── 01223 │ │ │ ├── 01223_front.png │ │ │ ├── 01223_front_latent.pt │ │ │ ├── 01223_left.png │ │ │ ├── 01223_left_latent.pt │ │ │ ├── 01223_right.png │ │ │ └── 01223_right_latent.pt │ ├── images │ │ └── 01223.png │ ├── inversions │ │ └── 01223.png │ ├── latents │ │ └── 01223.pt │ ├── lights │ │ └── 01223.npy │ └── unwrap_texture │ │ └── 01223 │ │ ├── 01223_final_coeffs.pt │ │ ├── 01223_final_lm68_2d.pt │ │ ├── 01223_final_remap_masks.png │ │ ├── 01223_final_seg_result.png │ │ ├── 01223_final_trans_params.pt │ │ └── 01223_final_uv.png ├── face_latent_examples │ ├── face_images │ │ └── 000 │ │ │ └── 01223 │ │ │ ├── 01223_front.png │ │ │ ├── 01223_left.png │ │ │ └── 01223_right.png │ └── face_latents │ │ └── 000 │ │ └── 01223 │ │ ├── 01223_front_latent.pt │ │ ├── 01223_left_latent.pt │ │ └── 01223_right_latent.pt ├── fitting_examples │ └── inputs │ │ ├── 000007.jpg │ │ ├── 000055.jpg │ │ ├── 015309.jpg │ │ ├── processed_data │ │ ├── 000007.pt │ │ ├── 000055.pt │ │ └── 015309.pt │ │ └── processed_data_vis │ │ ├── 000007.png │ │ ├── 000055.png │ │ └── 015309.png ├── fitting_realy │ └── download and put here ├── flame_apply_hifi3d_uv_examples │ ├── flame_head.obj │ └── hifi3d_tex_uv.png └── mesh_add_eyeball_examples │ └── mesh_head.obj ├── run_ffhq_uv_dataset.sh ├── run_flame_apply_hifi3d_uv.sh ├── run_gen_face_from_latent.sh ├── run_mesh_add_eyeball.sh ├── run_rgb_fitting.sh ├── run_rgb_fitting_cropface630resize1024.sh ├── run_rgb_fitting_realy.sh └── topo_assets └── download and put here /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/.gitignore -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/.gitignore -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/configs/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/configs/data_configs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/configs/data_configs.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/configs/paths_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/configs/paths_config.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/configs/transforms_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/configs/transforms_config.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/criteria/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/criteria/id_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/criteria/id_loss.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/criteria/lpips/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/criteria/lpips/lpips.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/criteria/lpips/lpips.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/criteria/lpips/networks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/criteria/lpips/networks.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/criteria/lpips/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/criteria/lpips/utils.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/criteria/moco_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/criteria/moco_loss.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/criteria/w_norm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/criteria/w_norm.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/datasets/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/datasets/gt_res_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/datasets/gt_res_dataset.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/datasets/images_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/datasets/images_dataset.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/datasets/inference_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/datasets/inference_dataset.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/editings/ganspace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/editings/ganspace.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/editings/ganspace_pca/cars_pca.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/editings/ganspace_pca/cars_pca.pt -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/editings/ganspace_pca/ffhq_pca.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/editings/ganspace_pca/ffhq_pca.pt -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/editings/interfacegan_directions/age.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/editings/interfacegan_directions/age.pt -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/editings/interfacegan_directions/pose.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/editings/interfacegan_directions/pose.pt -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/editings/interfacegan_directions/smile.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/editings/interfacegan_directions/smile.pt -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/editings/latent_editor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/editings/latent_editor.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/editings/sefa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/editings/sefa.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/metrics/LEC.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/metrics/LEC.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/models/discriminator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/models/discriminator.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/models/encoders/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/models/encoders/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/models/encoders/helpers.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/models/encoders/model_irse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/models/encoders/model_irse.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/models/encoders/psp_encoders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/models/encoders/psp_encoders.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/models/latent_codes_pool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/models/latent_codes_pool.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/models/psp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/models/psp.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/models/stylegan2/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/models/stylegan2/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/models/stylegan2/model.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/models/stylegan2/op/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/models/stylegan2/op/__init__.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/models/stylegan2/op/fused_act.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/models/stylegan2/op/fused_act.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/models/stylegan2/op/fused_bias_act.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/models/stylegan2/op/fused_bias_act.cpp -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/models/stylegan2/op/fused_bias_act_kernel.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/models/stylegan2/op/fused_bias_act_kernel.cu -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/models/stylegan2/op/upfirdn2d.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/models/stylegan2/op/upfirdn2d.cpp -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/models/stylegan2/op/upfirdn2d.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/models/stylegan2/op/upfirdn2d.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/models/stylegan2/op/upfirdn2d_kernel.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/models/stylegan2/op/upfirdn2d_kernel.cu -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/options/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/options/train_options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/options/train_options.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/run_e4e_inversion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/run_e4e_inversion.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/scripts/calc_losses_on_images.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/scripts/calc_losses_on_images.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/scripts/demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/scripts/demo.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/scripts/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/scripts/inference.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/scripts/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/scripts/train.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/training/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/training/coach.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/training/coach.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/training/ranger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/training/ranger.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/utils/alignment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/utils/alignment.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/utils/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/utils/common.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/utils/data_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/utils/data_utils.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/utils/model_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/utils/model_utils.py -------------------------------------------------------------------------------- /DataSet_Step1_Inversion/utils/train_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step1_Inversion/utils/train_utils.py -------------------------------------------------------------------------------- /DataSet_Step2_Det_Attributes/model/defineHourglass_1024_gray_skip_matchFeature.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step2_Det_Attributes/model/defineHourglass_1024_gray_skip_matchFeature.py -------------------------------------------------------------------------------- /DataSet_Step2_Det_Attributes/model/defineHourglass_512_gray_skip.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step2_Det_Attributes/model/defineHourglass_512_gray_skip.py -------------------------------------------------------------------------------- /DataSet_Step2_Det_Attributes/run_dpr_light.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step2_Det_Attributes/run_dpr_light.py -------------------------------------------------------------------------------- /DataSet_Step2_Det_Attributes/run_ms_api_attr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step2_Det_Attributes/run_ms_api_attr.py -------------------------------------------------------------------------------- /DataSet_Step2_Det_Attributes/utils/utils_SH.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step2_Det_Attributes/utils/utils_SH.py -------------------------------------------------------------------------------- /DataSet_Step2_Det_Attributes/utils/utils_normal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step2_Det_Attributes/utils/utils_normal.py -------------------------------------------------------------------------------- /DataSet_Step2_Det_Attributes/utils/utils_shtools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step2_Det_Attributes/utils/utils_shtools.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/.gitignore -------------------------------------------------------------------------------- /DataSet_Step3_Editing/dnnlib/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/dnnlib/__init__.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/dnnlib/submission/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/dnnlib/submission/__init__.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/dnnlib/submission/internal/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/dnnlib/submission/internal/__init__.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/dnnlib/submission/internal/local.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/dnnlib/submission/internal/local.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/dnnlib/submission/run_context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/dnnlib/submission/run_context.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/dnnlib/submission/submit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/dnnlib/submission/submit.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/dnnlib/tflib/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/dnnlib/tflib/__init__.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/dnnlib/tflib/autosummary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/dnnlib/tflib/autosummary.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/dnnlib/tflib/custom_ops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/dnnlib/tflib/custom_ops.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/dnnlib/tflib/network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/dnnlib/tflib/network.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/dnnlib/tflib/ops/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/dnnlib/tflib/ops/__init__.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/dnnlib/tflib/ops/fused_bias_act.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/dnnlib/tflib/ops/fused_bias_act.cu -------------------------------------------------------------------------------- /DataSet_Step3_Editing/dnnlib/tflib/ops/fused_bias_act.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/dnnlib/tflib/ops/fused_bias_act.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/dnnlib/tflib/ops/upfirdn_2d.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/dnnlib/tflib/ops/upfirdn_2d.cu -------------------------------------------------------------------------------- /DataSet_Step3_Editing/dnnlib/tflib/ops/upfirdn_2d.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/dnnlib/tflib/ops/upfirdn_2d.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/dnnlib/tflib/optimizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/dnnlib/tflib/optimizer.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/dnnlib/tflib/tfutil.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/dnnlib/tflib/tfutil.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/dnnlib/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/dnnlib/util.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/expression_recognition/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/expression_recognition/__init__.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/expression_recognition/functional.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/expression_recognition/functional.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/expression_recognition/transforms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/expression_recognition/transforms.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/expression_recognition/vgg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/expression_recognition/vgg.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/gen_face_from_latent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/gen_face_from_latent.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/gen_face_from_latents_within_folder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/gen_face_from_latents_within_folder.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/module/cnf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/module/cnf.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/module/diffeq_layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/module/diffeq_layers.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/module/flow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/module/flow.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/module/normalization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/module/normalization.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/module/odefunc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/module/odefunc.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/module/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/module/utils.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/options/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DataSet_Step3_Editing/options/base_options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/options/base_options.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/options/test_options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/options/test_options.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/options/train_options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/options/train_options.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/pretrained_networks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/pretrained_networks.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/run_styleflow_editing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/run_styleflow_editing.py -------------------------------------------------------------------------------- /DataSet_Step3_Editing/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step3_Editing/utils.py -------------------------------------------------------------------------------- /DataSet_Step4_UV_Texture/face3d_recon/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step4_UV_Texture/face3d_recon/__init__.py -------------------------------------------------------------------------------- /DataSet_Step4_UV_Texture/face3d_recon/parametric_face_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step4_UV_Texture/face3d_recon/parametric_face_model.py -------------------------------------------------------------------------------- /DataSet_Step4_UV_Texture/face3d_recon/recon_network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step4_UV_Texture/face3d_recon/recon_network.py -------------------------------------------------------------------------------- /DataSet_Step4_UV_Texture/face3d_recon/renderer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step4_UV_Texture/face3d_recon/renderer.py -------------------------------------------------------------------------------- /DataSet_Step4_UV_Texture/face3d_recon/resnet_backbone.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step4_UV_Texture/face3d_recon/resnet_backbone.py -------------------------------------------------------------------------------- /DataSet_Step4_UV_Texture/preprocess/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step4_UV_Texture/preprocess/__init__.py -------------------------------------------------------------------------------- /DataSet_Step4_UV_Texture/preprocess/preprocess_func.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step4_UV_Texture/preprocess/preprocess_func.py -------------------------------------------------------------------------------- /DataSet_Step4_UV_Texture/run_unwrap_texture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step4_UV_Texture/run_unwrap_texture.py -------------------------------------------------------------------------------- /DataSet_Step4_UV_Texture/tex/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step4_UV_Texture/tex/__init__.py -------------------------------------------------------------------------------- /DataSet_Step4_UV_Texture/tex/laplacian_pyramid.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step4_UV_Texture/tex/laplacian_pyramid.py -------------------------------------------------------------------------------- /DataSet_Step4_UV_Texture/tex/poisson_blend.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step4_UV_Texture/tex/poisson_blend.py -------------------------------------------------------------------------------- /DataSet_Step4_UV_Texture/tex/tex_func.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step4_UV_Texture/tex/tex_func.py -------------------------------------------------------------------------------- /DataSet_Step4_UV_Texture/third_party/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step4_UV_Texture/third_party/__init__.py -------------------------------------------------------------------------------- /DataSet_Step4_UV_Texture/third_party/face_parsing/face_parsing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step4_UV_Texture/third_party/face_parsing/face_parsing.py -------------------------------------------------------------------------------- /DataSet_Step4_UV_Texture/third_party/face_parsing/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step4_UV_Texture/third_party/face_parsing/model.py -------------------------------------------------------------------------------- /DataSet_Step4_UV_Texture/third_party/face_parsing/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step4_UV_Texture/third_party/face_parsing/resnet.py -------------------------------------------------------------------------------- /DataSet_Step4_UV_Texture/third_party/landmark68/BBRegressorParam_r.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step4_UV_Texture/third_party/landmark68/BBRegressorParam_r.mat -------------------------------------------------------------------------------- /DataSet_Step4_UV_Texture/third_party/landmark68/detect_lm68.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step4_UV_Texture/third_party/landmark68/detect_lm68.py -------------------------------------------------------------------------------- /DataSet_Step4_UV_Texture/third_party/landmark68/test_mean_face.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step4_UV_Texture/third_party/landmark68/test_mean_face.txt -------------------------------------------------------------------------------- /DataSet_Step4_UV_Texture/third_party/mtcnn/detect_face_with_mtcnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step4_UV_Texture/third_party/mtcnn/detect_face_with_mtcnn.py -------------------------------------------------------------------------------- /DataSet_Step4_UV_Texture/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step4_UV_Texture/utils/__init__.py -------------------------------------------------------------------------------- /DataSet_Step4_UV_Texture/utils/data_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/DataSet_Step4_UV_Texture/utils/data_utils.py -------------------------------------------------------------------------------- /FLAME_Apply_HIFI3D_UV/flame2hifi3d_assets/FLAME_w_HIFI3D_UV.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/FLAME_Apply_HIFI3D_UV/flame2hifi3d_assets/FLAME_w_HIFI3D_UV.obj -------------------------------------------------------------------------------- /FLAME_Apply_HIFI3D_UV/flame2hifi3d_assets/eye_ball_tex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/FLAME_Apply_HIFI3D_UV/flame2hifi3d_assets/eye_ball_tex.png -------------------------------------------------------------------------------- /FLAME_Apply_HIFI3D_UV/flame2hifi3d_assets/uv_coordinates_vis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/FLAME_Apply_HIFI3D_UV/flame2hifi3d_assets/uv_coordinates_vis.png -------------------------------------------------------------------------------- /FLAME_Apply_HIFI3D_UV/run_flame_apply_hifi3d_uv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/FLAME_Apply_HIFI3D_UV/run_flame_apply_hifi3d_uv.py -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/LICENSE -------------------------------------------------------------------------------- /Mesh_Add_EyeBall/eye_ball_assets/eyeLeft_mesh_move.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/Mesh_Add_EyeBall/eye_ball_assets/eyeLeft_mesh_move.obj -------------------------------------------------------------------------------- /Mesh_Add_EyeBall/eye_ball_assets/eyeRight_mesh_move.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/Mesh_Add_EyeBall/eye_ball_assets/eyeRight_mesh_move.obj -------------------------------------------------------------------------------- /Mesh_Add_EyeBall/eye_ball_assets/eye_ball_tex.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/Mesh_Add_EyeBall/eye_ball_assets/eye_ball_tex.mtl -------------------------------------------------------------------------------- /Mesh_Add_EyeBall/eye_ball_assets/eye_ball_tex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/Mesh_Add_EyeBall/eye_ball_assets/eye_ball_tex.png -------------------------------------------------------------------------------- /Mesh_Add_EyeBall/run_mesh_add_eyeball.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/Mesh_Add_EyeBall/run_mesh_add_eyeball.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/README.md -------------------------------------------------------------------------------- /README_ckp_topo.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/README_ckp_topo.md -------------------------------------------------------------------------------- /README_create_uv_texture.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/README_create_uv_texture.md -------------------------------------------------------------------------------- /README_dataset.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/README_dataset.md -------------------------------------------------------------------------------- /README_flame2hifi3d.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/README_flame2hifi3d.md -------------------------------------------------------------------------------- /README_rgb_fitting.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/README_rgb_fitting.md -------------------------------------------------------------------------------- /RGB_Fitting/dataset/fit_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/dataset/fit_dataset.py -------------------------------------------------------------------------------- /RGB_Fitting/model/hifi3dpp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/model/hifi3dpp.py -------------------------------------------------------------------------------- /RGB_Fitting/model/losses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/model/losses.py -------------------------------------------------------------------------------- /RGB_Fitting/model/optimizers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/model/optimizers.py -------------------------------------------------------------------------------- /RGB_Fitting/model/ours_fit_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/model/ours_fit_model.py -------------------------------------------------------------------------------- /RGB_Fitting/model/ours_fit_model_cropface630resize1024.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/model/ours_fit_model_cropface630resize1024.py -------------------------------------------------------------------------------- /RGB_Fitting/model/renderer_nvdiffrast.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/model/renderer_nvdiffrast.py -------------------------------------------------------------------------------- /RGB_Fitting/model/uvtex_spherical_fixshape_fitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/model/uvtex_spherical_fixshape_fitter.py -------------------------------------------------------------------------------- /RGB_Fitting/model/uvtex_wspace_shape_joint_fitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/model/uvtex_wspace_shape_joint_fitter.py -------------------------------------------------------------------------------- /RGB_Fitting/network/arcface/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/arcface/__init__.py -------------------------------------------------------------------------------- /RGB_Fitting/network/arcface/iresnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/arcface/iresnet.py -------------------------------------------------------------------------------- /RGB_Fitting/network/arcface/mobilefacenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/arcface/mobilefacenet.py -------------------------------------------------------------------------------- /RGB_Fitting/network/recog.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/recog.py -------------------------------------------------------------------------------- /RGB_Fitting/network/recon_deep3d.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/recon_deep3d.py -------------------------------------------------------------------------------- /RGB_Fitting/network/resnet/backbone.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/resnet/backbone.py -------------------------------------------------------------------------------- /RGB_Fitting/network/stylegan2/dnnlib/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/stylegan2/dnnlib/__init__.py -------------------------------------------------------------------------------- /RGB_Fitting/network/stylegan2/dnnlib/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/stylegan2/dnnlib/util.py -------------------------------------------------------------------------------- /RGB_Fitting/network/stylegan2/networks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/stylegan2/networks.py -------------------------------------------------------------------------------- /RGB_Fitting/network/stylegan2/torch_utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/stylegan2/torch_utils/__init__.py -------------------------------------------------------------------------------- /RGB_Fitting/network/stylegan2/torch_utils/custom_ops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/stylegan2/torch_utils/custom_ops.py -------------------------------------------------------------------------------- /RGB_Fitting/network/stylegan2/torch_utils/misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/stylegan2/torch_utils/misc.py -------------------------------------------------------------------------------- /RGB_Fitting/network/stylegan2/torch_utils/ops/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/stylegan2/torch_utils/ops/__init__.py -------------------------------------------------------------------------------- /RGB_Fitting/network/stylegan2/torch_utils/ops/bias_act.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/stylegan2/torch_utils/ops/bias_act.cpp -------------------------------------------------------------------------------- /RGB_Fitting/network/stylegan2/torch_utils/ops/bias_act.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/stylegan2/torch_utils/ops/bias_act.cu -------------------------------------------------------------------------------- /RGB_Fitting/network/stylegan2/torch_utils/ops/bias_act.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/stylegan2/torch_utils/ops/bias_act.h -------------------------------------------------------------------------------- /RGB_Fitting/network/stylegan2/torch_utils/ops/bias_act.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/stylegan2/torch_utils/ops/bias_act.py -------------------------------------------------------------------------------- /RGB_Fitting/network/stylegan2/torch_utils/ops/conv2d_gradfix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/stylegan2/torch_utils/ops/conv2d_gradfix.py -------------------------------------------------------------------------------- /RGB_Fitting/network/stylegan2/torch_utils/ops/conv2d_resample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/stylegan2/torch_utils/ops/conv2d_resample.py -------------------------------------------------------------------------------- /RGB_Fitting/network/stylegan2/torch_utils/ops/fma.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/stylegan2/torch_utils/ops/fma.py -------------------------------------------------------------------------------- /RGB_Fitting/network/stylegan2/torch_utils/ops/grid_sample_gradfix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/stylegan2/torch_utils/ops/grid_sample_gradfix.py -------------------------------------------------------------------------------- /RGB_Fitting/network/stylegan2/torch_utils/ops/upfirdn2d.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/stylegan2/torch_utils/ops/upfirdn2d.cpp -------------------------------------------------------------------------------- /RGB_Fitting/network/stylegan2/torch_utils/ops/upfirdn2d.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/stylegan2/torch_utils/ops/upfirdn2d.cu -------------------------------------------------------------------------------- /RGB_Fitting/network/stylegan2/torch_utils/ops/upfirdn2d.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/stylegan2/torch_utils/ops/upfirdn2d.h -------------------------------------------------------------------------------- /RGB_Fitting/network/stylegan2/torch_utils/ops/upfirdn2d.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/stylegan2/torch_utils/ops/upfirdn2d.py -------------------------------------------------------------------------------- /RGB_Fitting/network/stylegan2/torch_utils/persistence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/stylegan2/torch_utils/persistence.py -------------------------------------------------------------------------------- /RGB_Fitting/network/stylegan2/torch_utils/training_stats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/stylegan2/torch_utils/training_stats.py -------------------------------------------------------------------------------- /RGB_Fitting/network/texgan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/texgan.py -------------------------------------------------------------------------------- /RGB_Fitting/network/texgan_cropface630resize1024.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/network/texgan_cropface630resize1024.py -------------------------------------------------------------------------------- /RGB_Fitting/step1_process_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/step1_process_data.py -------------------------------------------------------------------------------- /RGB_Fitting/step2_fit_processed_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/step2_fit_processed_data.py -------------------------------------------------------------------------------- /RGB_Fitting/step2_fit_processed_data_cropface630resize1024.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/step2_fit_processed_data_cropface630resize1024.py -------------------------------------------------------------------------------- /RGB_Fitting/step2_fit_processed_data_realy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/step2_fit_processed_data_realy.py -------------------------------------------------------------------------------- /RGB_Fitting/step3_copy_fitted_mesh.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/step3_copy_fitted_mesh.py -------------------------------------------------------------------------------- /RGB_Fitting/third_party/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/third_party/__init__.py -------------------------------------------------------------------------------- /RGB_Fitting/third_party/face_parsing/face_parsing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/third_party/face_parsing/face_parsing.py -------------------------------------------------------------------------------- /RGB_Fitting/third_party/face_parsing/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/third_party/face_parsing/model.py -------------------------------------------------------------------------------- /RGB_Fitting/third_party/face_parsing/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/third_party/face_parsing/resnet.py -------------------------------------------------------------------------------- /RGB_Fitting/third_party/landmark68/BBRegressorParam_r.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/third_party/landmark68/BBRegressorParam_r.mat -------------------------------------------------------------------------------- /RGB_Fitting/third_party/landmark68/detect_lm68.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/third_party/landmark68/detect_lm68.py -------------------------------------------------------------------------------- /RGB_Fitting/third_party/landmark68/test_mean_face.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/third_party/landmark68/test_mean_face.txt -------------------------------------------------------------------------------- /RGB_Fitting/third_party/mtcnn/detect_face_with_mtcnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/third_party/mtcnn/detect_face_with_mtcnn.py -------------------------------------------------------------------------------- /RGB_Fitting/third_party/skin_mask/skin_mask.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/third_party/skin_mask/skin_mask.py -------------------------------------------------------------------------------- /RGB_Fitting/utils/data_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/utils/data_utils.py -------------------------------------------------------------------------------- /RGB_Fitting/utils/laplacian_pyramid.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/utils/laplacian_pyramid.py -------------------------------------------------------------------------------- /RGB_Fitting/utils/mesh_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/utils/mesh_utils.py -------------------------------------------------------------------------------- /RGB_Fitting/utils/preprocess_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/utils/preprocess_utils.py -------------------------------------------------------------------------------- /RGB_Fitting/utils/visual_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/RGB_Fitting/utils/visual_utils.py -------------------------------------------------------------------------------- /checkpoints/download and put here: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demos/imgs/new_version_of_rgb_fitting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/imgs/new_version_of_rgb_fitting.png -------------------------------------------------------------------------------- /demos/imgs/sample_flame_mesh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/imgs/sample_flame_mesh.png -------------------------------------------------------------------------------- /demos/imgs/sample_flame_mesh_processed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/imgs/sample_flame_mesh_processed.png -------------------------------------------------------------------------------- /demos/imgs/sample_flame_mesh_processed_maskeyeball.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/imgs/sample_flame_mesh_processed_maskeyeball.png -------------------------------------------------------------------------------- /demos/imgs/sample_hifi3d_uvmap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/imgs/sample_hifi3d_uvmap.png -------------------------------------------------------------------------------- /demos/teaser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/teaser.png -------------------------------------------------------------------------------- /demos/teaser_1/mesh_eye_ball_L.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/teaser_1/mesh_eye_ball_L.obj -------------------------------------------------------------------------------- /demos/teaser_1/mesh_eye_ball_R.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/teaser_1/mesh_eye_ball_R.obj -------------------------------------------------------------------------------- /demos/teaser_1/mesh_head.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/teaser_1/mesh_head.obj -------------------------------------------------------------------------------- /demos/teaser_1/tex_eye_ball.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/teaser_1/tex_eye_ball.mtl -------------------------------------------------------------------------------- /demos/teaser_1/tex_eye_ball.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/teaser_1/tex_eye_ball.png -------------------------------------------------------------------------------- /demos/teaser_1/tex_uv.mlt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/teaser_1/tex_uv.mlt -------------------------------------------------------------------------------- /demos/teaser_1/tex_uv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/teaser_1/tex_uv.png -------------------------------------------------------------------------------- /demos/teaser_2/mesh_eye_ball_L.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/teaser_2/mesh_eye_ball_L.obj -------------------------------------------------------------------------------- /demos/teaser_2/mesh_eye_ball_R.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/teaser_2/mesh_eye_ball_R.obj -------------------------------------------------------------------------------- /demos/teaser_2/mesh_head.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/teaser_2/mesh_head.obj -------------------------------------------------------------------------------- /demos/teaser_2/tex_eye_ball.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/teaser_2/tex_eye_ball.mtl -------------------------------------------------------------------------------- /demos/teaser_2/tex_eye_ball.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/teaser_2/tex_eye_ball.png -------------------------------------------------------------------------------- /demos/teaser_2/tex_uv.mlt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/teaser_2/tex_uv.mlt -------------------------------------------------------------------------------- /demos/teaser_2/tex_uv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/teaser_2/tex_uv.png -------------------------------------------------------------------------------- /demos/teaser_3/mesh_eye_ball_L.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/teaser_3/mesh_eye_ball_L.obj -------------------------------------------------------------------------------- /demos/teaser_3/mesh_eye_ball_R.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/teaser_3/mesh_eye_ball_R.obj -------------------------------------------------------------------------------- /demos/teaser_3/mesh_head.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/teaser_3/mesh_head.obj -------------------------------------------------------------------------------- /demos/teaser_3/tex_eye_ball.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/teaser_3/tex_eye_ball.mtl -------------------------------------------------------------------------------- /demos/teaser_3/tex_eye_ball.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/teaser_3/tex_eye_ball.png -------------------------------------------------------------------------------- /demos/teaser_3/tex_uv.mlt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/teaser_3/tex_uv.mlt -------------------------------------------------------------------------------- /demos/teaser_3/tex_uv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/demos/teaser_3/tex_uv.png -------------------------------------------------------------------------------- /examples/dataset_examples/attributes/01223.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/dataset_examples/attributes/01223.json -------------------------------------------------------------------------------- /examples/dataset_examples/attributes_ms_api/01223.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/dataset_examples/attributes_ms_api/01223.pkl -------------------------------------------------------------------------------- /examples/dataset_examples/edit/01223/01223_front.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/dataset_examples/edit/01223/01223_front.png -------------------------------------------------------------------------------- /examples/dataset_examples/edit/01223/01223_front_latent.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/dataset_examples/edit/01223/01223_front_latent.pt -------------------------------------------------------------------------------- /examples/dataset_examples/edit/01223/01223_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/dataset_examples/edit/01223/01223_left.png -------------------------------------------------------------------------------- /examples/dataset_examples/edit/01223/01223_left_latent.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/dataset_examples/edit/01223/01223_left_latent.pt -------------------------------------------------------------------------------- /examples/dataset_examples/edit/01223/01223_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/dataset_examples/edit/01223/01223_right.png -------------------------------------------------------------------------------- /examples/dataset_examples/edit/01223/01223_right_latent.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/dataset_examples/edit/01223/01223_right_latent.pt -------------------------------------------------------------------------------- /examples/dataset_examples/images/01223.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/dataset_examples/images/01223.png -------------------------------------------------------------------------------- /examples/dataset_examples/inversions/01223.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/dataset_examples/inversions/01223.png -------------------------------------------------------------------------------- /examples/dataset_examples/latents/01223.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/dataset_examples/latents/01223.pt -------------------------------------------------------------------------------- /examples/dataset_examples/lights/01223.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/dataset_examples/lights/01223.npy -------------------------------------------------------------------------------- /examples/dataset_examples/unwrap_texture/01223/01223_final_coeffs.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/dataset_examples/unwrap_texture/01223/01223_final_coeffs.pt -------------------------------------------------------------------------------- /examples/dataset_examples/unwrap_texture/01223/01223_final_lm68_2d.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/dataset_examples/unwrap_texture/01223/01223_final_lm68_2d.pt -------------------------------------------------------------------------------- /examples/dataset_examples/unwrap_texture/01223/01223_final_remap_masks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/dataset_examples/unwrap_texture/01223/01223_final_remap_masks.png -------------------------------------------------------------------------------- /examples/dataset_examples/unwrap_texture/01223/01223_final_seg_result.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/dataset_examples/unwrap_texture/01223/01223_final_seg_result.png -------------------------------------------------------------------------------- /examples/dataset_examples/unwrap_texture/01223/01223_final_trans_params.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/dataset_examples/unwrap_texture/01223/01223_final_trans_params.pt -------------------------------------------------------------------------------- /examples/dataset_examples/unwrap_texture/01223/01223_final_uv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/dataset_examples/unwrap_texture/01223/01223_final_uv.png -------------------------------------------------------------------------------- /examples/face_latent_examples/face_images/000/01223/01223_front.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/face_latent_examples/face_images/000/01223/01223_front.png -------------------------------------------------------------------------------- /examples/face_latent_examples/face_images/000/01223/01223_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/face_latent_examples/face_images/000/01223/01223_left.png -------------------------------------------------------------------------------- /examples/face_latent_examples/face_images/000/01223/01223_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/face_latent_examples/face_images/000/01223/01223_right.png -------------------------------------------------------------------------------- /examples/face_latent_examples/face_latents/000/01223/01223_front_latent.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/face_latent_examples/face_latents/000/01223/01223_front_latent.pt -------------------------------------------------------------------------------- /examples/face_latent_examples/face_latents/000/01223/01223_left_latent.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/face_latent_examples/face_latents/000/01223/01223_left_latent.pt -------------------------------------------------------------------------------- /examples/face_latent_examples/face_latents/000/01223/01223_right_latent.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/face_latent_examples/face_latents/000/01223/01223_right_latent.pt -------------------------------------------------------------------------------- /examples/fitting_examples/inputs/000007.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/fitting_examples/inputs/000007.jpg -------------------------------------------------------------------------------- /examples/fitting_examples/inputs/000055.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/fitting_examples/inputs/000055.jpg -------------------------------------------------------------------------------- /examples/fitting_examples/inputs/015309.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/fitting_examples/inputs/015309.jpg -------------------------------------------------------------------------------- /examples/fitting_examples/inputs/processed_data/000007.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/fitting_examples/inputs/processed_data/000007.pt -------------------------------------------------------------------------------- /examples/fitting_examples/inputs/processed_data/000055.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/fitting_examples/inputs/processed_data/000055.pt -------------------------------------------------------------------------------- /examples/fitting_examples/inputs/processed_data/015309.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/fitting_examples/inputs/processed_data/015309.pt -------------------------------------------------------------------------------- /examples/fitting_examples/inputs/processed_data_vis/000007.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/fitting_examples/inputs/processed_data_vis/000007.png -------------------------------------------------------------------------------- /examples/fitting_examples/inputs/processed_data_vis/000055.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/fitting_examples/inputs/processed_data_vis/000055.png -------------------------------------------------------------------------------- /examples/fitting_examples/inputs/processed_data_vis/015309.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/fitting_examples/inputs/processed_data_vis/015309.png -------------------------------------------------------------------------------- /examples/fitting_realy/download and put here: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/flame_apply_hifi3d_uv_examples/flame_head.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/flame_apply_hifi3d_uv_examples/flame_head.obj -------------------------------------------------------------------------------- /examples/flame_apply_hifi3d_uv_examples/hifi3d_tex_uv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/flame_apply_hifi3d_uv_examples/hifi3d_tex_uv.png -------------------------------------------------------------------------------- /examples/mesh_add_eyeball_examples/mesh_head.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/examples/mesh_add_eyeball_examples/mesh_head.obj -------------------------------------------------------------------------------- /run_ffhq_uv_dataset.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/run_ffhq_uv_dataset.sh -------------------------------------------------------------------------------- /run_flame_apply_hifi3d_uv.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/run_flame_apply_hifi3d_uv.sh -------------------------------------------------------------------------------- /run_gen_face_from_latent.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/run_gen_face_from_latent.sh -------------------------------------------------------------------------------- /run_mesh_add_eyeball.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/run_mesh_add_eyeball.sh -------------------------------------------------------------------------------- /run_rgb_fitting.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/run_rgb_fitting.sh -------------------------------------------------------------------------------- /run_rgb_fitting_cropface630resize1024.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/run_rgb_fitting_cropface630resize1024.sh -------------------------------------------------------------------------------- /run_rgb_fitting_realy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/csbhr/FFHQ-UV/HEAD/run_rgb_fitting_realy.sh -------------------------------------------------------------------------------- /topo_assets/download and put here: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------