Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about Evaluation code #21

Open
zhoutianyang2002 opened this issue Apr 5, 2024 · 2 comments
Open

Question about Evaluation code #21

zhoutianyang2002 opened this issue Apr 5, 2024 · 2 comments

Comments

@zhoutianyang2002
Copy link

Hi!
I am trying to run the given demo. I use the dataset person_0004. I have already finished the training. However, when I trying to evaluate the model I encounter an error. what's wrong with it? I am a newbee of computer graphics so it is difficult for me to understand the source code now. Thanks a lot!
image
image

@zhoutianyang2002 zhoutianyang2002 changed the title Question about Question about Evaluation code Apr 6, 2024
@DongChengdongHangZhou
Copy link

DongChengdongHangZhou commented Apr 9, 2024

Dear Tianyang,

I can help you resolve this problem.

The authors of this repository made a mistake, when you run the eval_splatting_avatar.py, you should organize the checkpoints as follows:

results/output-splatting/last_checkpoint
|---eval_30000
|---image
|---point_cloud
|---config.yaml
|---flame_params.json

the folder last_checkpoint/image should be the same as person004/person004/images,
and you should move person004/person004/flame_params.json to results/output-splatting/last_checkpoint/flame_params.json

Finally you should run the command as follows:
python eval_splatting_avatar.py --config configs/splatting_avatar.yaml --dat_dir results/output-splatting/last_checkpoint --pc_dir results/output-splatting/last_checkpoint/point_cloud/iteration_30000

In addition, the authors didn't provide the landmark_embedding.npy, and I finally find it on https://github.com/yfeng95/DECA/tree/master/data
you can download it from this weblink

@zhoutianyang2002
Copy link
Author

Dear Tianyang,

I can help you resolve this problem.

The authors of this repository made a mistake, when you run the eval_splatting_avatar.py, you should organize the checkpoints as follows:

results/output-splatting/last_checkpoint |---eval_30000 |---image |---point_cloud |---config.yaml |---flame_params.json

the folder last_checkpoint/image should be the same as person004/person004/images, and you should move person004/person004/flame_params.json to results/output-splatting/last_checkpoint/flame_params.json

Finally you should run the command as follows: python eval_splatting_avatar.py --config configs/splatting_avatar.yaml --dat_dir results/output-splatting/last_checkpoint --pc_dir results/output-splatting/last_checkpoint/point_cloud/iteration_30000

In addition, the authors didn't provide the landmark_embedding.npy, and I finally find it on https://github.com/yfeng95/DECA/tree/master/data you can download it from this weblink

Thank you for your clear and helpful reply! Best wishes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants