kcyt / IntegratedPIFu

Official Implementation of IntegratedPIFu (ECCV 2022)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing rendered_depthmap_xxxx.npy and rendered_nmlF_xxxx.npy

Yuhuoo opened this issue · comments

When I want to use "opt.second_stage_depth=True" and "use_normal_map_for_depth_training=True" for training depthfilter, I found that rendered_depthmap_xxxx.npy and rendered_nmlF_xxxx.npy were missed. Otherwise, I can't find any code about genarating rendered_depthmap_xxxx.npy and rendered_nmlF_xxxx.npy in scripts/render_depth_map_of_full_mesh.py and scripts/render_normal_map_of_full_mesh.py. How can I do to genarate them?

commented

For "rendered_depthmap_xxxx.npy", it could be that you have yet to generate coarse depth maps and the frontal normal maps. Consider going to generatemaps_depthfilter.py and set generate_refined_trained_depth_maps to False to generate the coarse depth maps.

It is the same for " rendered_nmlF_xxxx.npy", you need to go generatemaps_normalmodel.py and generate the frontal normal maps.

If the process is too troublesome for you, you might want to just use the coarse depth maps or just don't use depth maps (and human parsing maps) altogether. Just set --use_human_parse_maps and --use_depth_map to False. Our best model in our paper (quantitatively), does not require human parsing maps and depth maps.