buaavrcg/BakedAvatar

where is export_flame_params.py?

Closed this issue · 4 comments

Hello, I have finished training and evaluation based on README. Now I am going to run the real-time demo. However, I am a bit confused about how to run this part:

# export the FLAME parameter sequence for reenactment
python scripts/export_flame_params.py <path to 1st flame_params.json> <path to 2nd flame_params.json> ... --output ./sequence_data

There is not export_flame_params.py, only export_flame_sequence. Also, what is <path to 1st flame_params.json> <path to 2nd flame_params.json>?

Hello, I have finished training and evaluation based on README. Now I am going to run the real-time demo. However, I am a bit confused about how to run this part:

# export the FLAME parameter sequence for reenactment
python scripts/export_flame_params.py <path to 1st flame_params.json> <path to 2nd flame_params.json> ... --output ./sequence_data

There is not export_flame_params.py, only export_flame_sequence. Also, what is <path to 1st flame_params.json> <path to 2nd flame_params.json>?

I guess it's the flame_params from train and test datasets.
I successly generate the sequence_data, but the web demo won't work.
image

Hi, we made a typo in the readme, it should be export_flame_sequence.py. The flame_params.json are the ones in the train and test subfolders.

@endlesswho Could you open the console (press F12) and copy the error messages here? Thanks very much.

There is a bug. Remove ss in line

in vec2 v_uv;ss

Then do build

npm run build

There is a bug. Remove ss in line

in vec2 v_uv;ss

Then do build

npm run build

Thanks for pointing out! It might be accidentally introduced when cleaning up the code.