motion-latent-diffusion icon indicating copy to clipboard operation
motion-latent-diffusion copied to clipboard

Demo.py Frame Rate and Number of Generated Samples

Open mmdrahmani opened this issue 1 year ago • 4 comments

Hi I have two questions.

1- Is it possible to know the default frame rate used for generation of actions? I could see that frame rate is defined in multiple places, but when I am visualizing the generated movements using opencv, the actions seems slower than normal. I have used multiple frame rates for rendering in opencv, and it seems that 35Hz gives a normal action speed.

2- Is it possible to define number of samples per action to be generated? For example, I'd like to generate 100 samples of 'a person kneels.' Currently I am created a action_list.txt file with 100 lines of text 'a person kneels.' The demo.py generates 100 separate .npy files. Instead I wanted to generate a tensor of size [num_sample, num_frames, num_joints, xyz]. Is this possible.

Thank you for your support. Mohammad

mmdrahmani avatar Jan 30 '23 03:01 mmdrahmani