yfeng95 / face3d

Python tools for 3D face: 3DMM, Mesh processing(transform, camera, light, render), 3D face representations.
2.65k stars 611 forks source link

no pncc_code.mat #4

Open yfy1127yfy opened 6 years ago

yfy1127yfy commented 6 years ago

hello, bro: Project is interesting! But when I followed Data/BFM/readme.md step by step in Matlab,there was an error : Error in generate (line 100) copyfile('3ddfa/pncc_code.mat', 'Out/pncc_code.mat')

But, Out/BFM.mat, Out/BFM_info.mat, Out/BFM_UV.mat, Out/pncc_code.mat were generated. Is that ok to go on?

gsygsy96 commented 5 years ago

I met the same problem. Have you solved it? @YadiraF @yfy1127yfy

yhs95 commented 5 years ago

I also encountered this problem.

gsygsy96 commented 5 years ago

In another issued, author has mentioned that this is just a file to save something (I forgot >_< ). So I think the last line in generate.m maybe could be deleted. @yhs95

yfy1127yfy commented 5 years ago

I ignored it. line 60 : copyfile('3ddfa/vertex_code.mat', 'Out/pncc_code.mat') There is a "pncc_code.mat" before line 100 @mehameha998 @yhs95 Whatever, it works.

emadeldeen24 commented 5 years ago

When I faced that error, there was already a "pncc_code.mat" file in the "Out" folder, so I copied it from it to the "3ddfa" folder and it worked!

FelixFox commented 5 years ago

Yes, the pncc_code.mat is copied in line 60:

copyfile('3ddfa/vertex_code.mat', 'Out/pncc_code.mat')

So copyfile('3ddfa/pncc_code.mat', 'Out/pncc_code.mat') in line 100 is not needed.

WWWJL commented 5 years ago

When I faced that error, there was already a "pncc_code.mat" file in the "Out" folder, so I copied it from it to the "3ddfa" folder and it worked!

hello,i have a question,thank you to explain.i use 8_generate_posmap_300WLP.py to produce the images' uv map gt.but the way in the script only depend on the same BFM model,how can it represent other images? i think different image should has different BFM model to produce it's own uv map groundtruth.

jinxinbao commented 4 years ago

In another issued, author has mentioned that this is just a file to save something (I forgot >_< ). So I think the last line in generate.m maybe could be deleted. @yhs95 Yes, after the last line in generate.m was deleted, it works

t-qureshi commented 4 years ago

pncc_code.mat file https://drive.google.com/drive/folders/1lEc4TNBzArwP5jjRgqIDUJo7VCPMX4Kf?usp=sharing