kv2000 / ASH

The Training and Demo code for: Ash: Animatable gaussian splats for efficient and photoreal human rendering (CVPR 2024)
https://vcai.mpi-inf.mpg.de/projects/ash/
109 stars 10 forks source link

Some hints on training with your own data #4

Open kv2000 opened 2 months ago

kv2000 commented 2 months ago

Since our approach requires only the motion textures as input conditions, it is possible, and intuitive, to adapt it for different kinds of drivable human templates.

Assume that you have a skinned/drivable template mesh with a UV paradigm. Since we have provided the tools in the training dataloader, that render the info attached on the vertexes to the textures, it would be intuitive to adapt it for training on other drivable human models with the following ingredients:

Yi-Cheng0101 commented 1 month ago

Hi, as you mentioned above, there are five files we need to prepare before training. Could you provide how you preprocess your original videos and use what kind of tools to get these five files. Thanks!

hua-zi commented 1 month ago

Maybe ASH_Train_Dataset.get_precomputed_human() in models/dataset_no_charactor_train.py can generate these files.

hua-zi commented 1 month ago

Hello, I'm interested in training ASH using my own multi-view video data. Could you please guide me on how to get these files similar to Subject0022_train.conf for my dataset? Thanks!

character{
    skeleton_dir =./meta_data/mydataset/ddc.skeleton                      # skeleton file
    skinning_dir =./meta_data/mydataset/ddc.skin                          # the skinning weights
    template_mesh_dir =./meta_data/mydataset/ddc.obj                      # the template meshes 
    graph_dir = ./meta_data/mydataset/ddc_graph.obj                       # the embedded graph, which is a lower res ones
    rest_pose_dir = ./meta_data/mydataset/ddc.motion                      # the rest pose 
    ...
    hand_mask_dir = ./meta_data/mydataset/hand_segmentation.txt           # for Dynacap Dataset characters we comment out this entry ;D 
}
dataset {
    ...
    # dofs
    skeleton_angles = ./meta_data/mydataset/skeletoolToGTPose/poseAngles.motion
    # rotation, and translation normalized dof; of (n, n-1, n-2 th frame) w.r.t the nth frame :D
    skeleton_angles_rotation_normalized = ./meta_data/mydataset/skeletoolToGTPose/poseAnglesRotationNormalized.motion
    ...
}
Yi-Cheng0101 commented 1 month ago

Maybe ASH_Train_Dataset.get_precomputed_human() in models/dataset_no_charactor_train.py can generate these files.

Thanks! And do you know here I place my custom video and the command to run this?

moqiyinlun commented 3 weeks ago

But how can I get the "Subject0022/ddc.skin", "Subject0022/ddc.skeleton", "Subject0022/ddc.obj", "Subject0022/skeletoolToGTPose/poseAnglesRotationNormalized.motion", "Subject0022/skeletoolToGTPose/poseAngles.motion" for my own dataset, since I carefully reviewed the code and realized that generating those five cache files you mentioned requires the preparation of skeleton information in advance?