CodeTalker icon indicating copy to clipboard operation
CodeTalker copied to clipboard

How to prepare training data ?

Open MagicRedZero opened this issue 3 years ago • 3 comments

Data Preparation

Place your vertices data (.npy files) and audio data (.wav files) in <dataset_dir>/vertices_npy and <dataset_dir>/wav folders, respectively.

Save the templates of all subjects to a templates.pkl file and put it in <dataset_dir>, as done for BIWI and vocaset dataset. Export an arbitary template to .ply format and put it in <dataset_dir>/.

Ask about Data Preparation of Play with Your Own Data .npy templates.pkl .ply How are these documents prepared?

MagicRedZero avatar May 19 '23 04:05 MagicRedZero

the same question! Have you solved it?

MMMDY avatar Jul 11 '23 09:07 MMMDY

Hi, Since I didn't try it on the customized dataset either, the best way I think is to inspect the corresponding files of vocaset and BIWI: for .npy, it may be in <frame_num $\times$ vertex_num $\times$ 3>, and the value are just 3d positions of vertices. The templates.pkl is the dictionary of neutral face (3d position of vertices), e.g. {'a': <vertex_num $\times$ 3>, 'b': ....}, and .ply is the topology for rendering purpose, the index of vertices to form a triangle facet, e.g. [[1, 2, 3], [2,3,7], ....].

Doubiiu avatar Jul 13 '23 05:07 Doubiiu

Hi, Since I didn't try it on the customized dataset either, the best way I think is to inspect the corresponding files of vocaset and BIWI: for .npy, it may be in <frame_num × vertex_num × 3>, and the value are just 3d positions of vertices. The templates.pkl is the dictionary of neutral face (3d position of vertices), e.g. {'a': <vertex_num × 3>, 'b': ....}, and .ply is the topology for rendering purpose, the index of vertices to form a triangle facet, e.g. [[1, 2, 3], [2,3,7], ....].

Hi, I don't know how to get the BIWI data set, can you tell me how you got it

DarlingZzzz avatar Jun 09 '24 03:06 DarlingZzzz