MrTornado24 / Next3D

[CVPR 2023 Highlight] Next3D: Generative Neural Texture Rasterization for 3D-Aware Head Avatars
https://mrtornado24.github.io/Next3D/
470 stars 29 forks source link

Wrong truncation_cutoff in gen_samples_next3d.py #21

Open wamiq-reyaz opened 1 year ago

wamiq-reyaz commented 1 year ago

In the file gen_samples_next3d.py, https://github.com/MrTornado24/Next3D/blob/bdab84fc12cb61bd1002a3efb2c0a707a1139d97/gen_samples_next3d.py#L112

the truncation cutoff is set to 14, meaning that the truncation is only applied to the texture_ws and not the eg3d_ws, because of this line https://github.com/MrTornado24/Next3D/blob/bdab84fc12cb61bd1002a3efb2c0a707a1139d97/training_avatar_texture/networks_stylegan2_vtoonify.py#L289

Is my understanding correct? I think because of this, we get a prominent stitching artifact where the FLAME rasterized texture and the static rendered features meet.

An example of what I mean:

MrTornado24 commented 1 year ago

Hi, it's a good question! I'll take a look. What is your example?