Closed marvin521 closed 6 years ago
Sorry for forgetting this project: http://www.cbsr.ia.ac.cn/users/xiangyuzhu/projects/HPEN/Code/CVPR2015_HPEN.zip. You can find them in this file.
@YadiraF Hi Yao, All other code works well except for '6_generate_image_map.py'. The reason is that the file 'pncc_code.mat' is missing.
@marvin521
The pncc_code.mat
is just one file storing normalized 3d vertices. You can try to normalize the vertices of Data/example1.mat
, then feed it to mesh_cython.render.render_colors
.
@cleardusk really? that is unimaginable...
@marvin521 sorry again for forgetting this...T T I've just fixed it. Please pull and run generate.m again.(Actually just copy vertex_code.mat from 3ddfa) And, you can also do as @cleardusk said. Thanks!
Dear YadiraF, Thanks for your help! Want to make sure: by "just copy vertex_code.mat",
Do you mean
Line 60: copyfile('3ddfa/vertex_code.mat', 'Out/pncc_code.mat')
in generate.m will produce pncc_code.mat?
But there is another line :
Line 100: copyfile('3ddfa/pncc_code.mat', 'Out/pncc_code.mat')
is this line still needed?
And this line 100 also caused error.
Can I ignore error from line 100 and proceed?
BR, Jimmy
Hi yao, Really thanks for releasing the training code. I can not find "Modelplus_nose_hole.mat" and "Modelplus_parallel.mat" from the source code 3DFFA. Where can I get these two files?