yfeng95 / PIXIE

Other
435 stars 64 forks source link

Face texture issue with whole body fitting #26

Open ujjawalcse opened 2 years ago

ujjawalcse commented 2 years ago

Hey, Congrats for this great work. I tested this repository and glad to see the results.

I'm experimenting with different options given as arguments, so i executed the below command, python demos/demo_fit_body.py -i test_samples1/ -s test_samples1_result/ --deca_path DECA/ --extractTex True --saveObj True

But the resultant texture is not mapping correctly to the given template and hence getting very poor facial texture. Below are some references - input 1

bill-gates-7

output 1

bill-gates-7

input 2 elon_musk

output 2 elon_musk

input 3

thumb_bezos

output 3 thumb_bezos

Can you please suggest some ways to enhance the results?

Thanks.

amramer commented 1 year ago

Hi @ujjawalcse when I use the argument --deca_path DECA/ I got the following error: (please do you have any suggested solutions?)

Traceback (most recent call last): File "demos/demo_fit_body.py", line 173, in main(parser.parse_args()) File "demos/demo_fitbody.py", line 76, in main , decaopdict, = deca.run(cropped_face_savepath) File "DECA/decalib/deca.py", line 318, in run opdict, visdict = self.decode(codedict) File "DECA/decalib/deca.py", line 241, in decode if self.cfg.model.extract_tex: File "/home/amr/anaconda3/envs/pixie-env/lib/python3.7/site-packages/yacs/config.py", line 141, in getattr raise AttributeError(name) AttributeError: extract_tex

felixshing commented 4 months ago

Hi @ujjawalcse when I use the argument --deca_path DECA/ I got the following error: (please do you have any suggested solutions?)

Traceback (most recent call last): File "demos/demo_fit_body.py", line 173, in main(parser.parse_args()) File "demos/demo_fitbody.py", line 76, in main , decaopdict, = deca.run(cropped_face_savepath) File "DECA/decalib/deca.py", line 318, in run opdict, visdict = self.decode(codedict) File "DECA/decalib/deca.py", line 241, in decode if self.cfg.model.extract_tex: File "/home/amr/anaconda3/envs/pixie-env/lib/python3.7/site-packages/yacs/config.py", line 141, in getattr raise AttributeError(name) AttributeError: extract_tex

Same issue. Have you found any solutions? Thanks!