
## Inference

Please refer to `Code_inference`, which is the code for our inference strategy based on DynamiCrafter. To inference,just use the `Code_inference/scripts/evaluation/inference_analytic.py` .Here are some arguments with respect to our inference method:

- `ddpm_num_steps_for_inference`:M that the generative process starts, range from [1,1000] .When M is very large ,it leads to lack of motion. 
- `whether_analytic_init` :whether or not to apply our Analytic-Init method. Set it 1 to apply Analytic-Init,and in this case, set `analytic_init_path` the path to your estimated initial information .

As for other arguments, please refer to the original repository of DynamiCrafter.

## Training

Please refer to `Code_train`. TimeNoise is applied in `Code_train/lvdm/models/ddpm3d.py`.You could decide the type of noise added to the conditional image in `configs` ,namely     
- `condition_type`(to decide constant noise or followsing a distribution)
- `mu_type`:the function of $\mu(t)$
