PRNet icon indicating copy to clipboard operation
PRNet copied to clipboard

about the uv position map

Open yyssmm opened this issue 6 years ago • 4 comments

Hi, Thank you for sharing your code! When I run your demo, I want to save the generated position map, but it looks like follow, it looks as if there's some wrong. How should I save the position map correctly? Thank you

ibug_image_008_1_0pos

yyssmm avatar Oct 12 '18 11:10 yyssmm

you are right!

jnulzl avatar Jan 17 '19 12:01 jnulzl

Hi, Thank you for sharing your code! When I run your demo, I want to save the generated position map, but it looks like follow, it looks as if there's some wrong. How should I save the position map correctly? Thank you

ibug_image_008_1_0pos

How did you get this generated position map? I tried 7_generate_uv_map.py in face3d but met a float type error.

wdear avatar Mar 27 '19 03:03 wdear

@yyssmm @jnulzl hello, when I trained PRN, I get the posmap like follows, Becouse the 8_generate_posmap_300WLP.py can not generate the posmap directly , I motified some thing

4.uv position map: render position in uv space

uv_position_map = mesh.reder.reder_colord(uv_coords, bfm.full_trangles, position, uv_h, uv_w, c = 3) uv_position_map[uv_position_map>256]=256 but i get trained posmap: 1563514750(1) what's wrong with it? generate the posmap or training, can you help me? thank you very much!

yexiaoxi01 avatar Jul 19 '19 06:07 yexiaoxi01

@yyssmm @jnulzl hello, when I trained PRN, I get the posmap like follows, Becouse the 8_generate_posmap_300WLP.py can not generate the posmap directly , I motified some thing

4.uv position map: render position in uv space

uv_position_map = mesh.reder.reder_colord(uv_coords, bfm.full_trangles, position, uv_h, uv_w, c = 3) uv_position_map[uv_position_map>256]=256 but i get trained posmap: 1563514750(1) what's wrong with it? generate the posmap or training, can you help me? thank you very much!

seems that u should do the clip operation at 0 as well.

SecondFool avatar Nov 01 '21 06:11 SecondFool