Yzmblog / MonoHuman

MonoHuman: Animatable Human Neural Field from Monocular Video (CVPR 2023)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error in the Evaluation Code

seunguk-do opened this issue · comments

Hi, thank you for sharing great work.

It seems like the function run_eval in run.py does not run. The error occurs in the line 247 since the ray_mask is 1-dim tensor and the pred_img_norm is 2-dim tensor. And also, from the renderig result maked by ray_img, the SSIM and LPIPS cannot be evaluated. Can you tell me how did you exactly evaluate the renderings?

Hi, thank you for sharing great work.

It seems like the function run_eval in run.py does not run. The error occurs in the line 247 since the ray_mask is 1-dim tensor and the pred_img_norm is 2-dim tensor. And also, from the renderig result maked by ray_img, the SSIM and LPIPS cannot be evaluated. Can you tell me how did you exactly evaluate the renderings?

Hi, Thanks for your feedback! It's a bug in my code, we evaluate the whole image, so the ray_mask is unnecessary. Just deleting the ‘[ray_mask]’ will fix it. And I also update the code, Sorry for not checking that. Thanks again!

Thank you!