MCPcopy Create free account

hub / github.com/TencentARC/MotionCtrl / functions

Functions380 in github.com/TencentARC/MotionCtrl

Methodforward
(self, x)
lvdm/modules/networks/ae_modules.py:717
Methodforward
(self, x)
lvdm/modules/networks/ae_modules.py:734
Methodforward
(self, x)
lvdm/modules/networks/ae_modules.py:753
Methodforward
(self, x, scale_factor=1.0)
lvdm/modules/networks/ae_modules.py:775
Methodforward
(self,x)
lvdm/modules/networks/ae_modules.py:834
Methodforward
Apply the module to `x` given `emb` timestep embeddings.
lvdm/modules/networks/openaimodel3d_next.py:24
Methodforward
(self, x, emb, context=None, batch_size=None, is_imgbatch=False)
lvdm/modules/networks/openaimodel3d_next.py:36
Methodforward
(self, x)
lvdm/modules/networks/openaimodel3d_next.py:75
Methodforward
(self, x)
lvdm/modules/networks/openaimodel3d_next.py:98
Methodforward
Apply the block to a Tensor, conditioned on a timestep embedding. :param x: an [N x C x ...] Tensor of features. :param emb:
lvdm/modules/networks/openaimodel3d_next.py:199
Methodforward
(self, x)
lvdm/modules/networks/openaimodel3d_next.py:270
Methodforward
(self, x, timesteps, context=None, y=None, features_adapter=None, is_imgbatch=False, **kwargs)
lvdm/modules/networks/openaimodel3d_next.py:537
Methodforward
(self, batch, key=None, disable_dropout=False)
lvdm/modules/encoders/condition2.py:35
Methodforward
(self, text)
lvdm/modules/encoders/condition2.py:79
Methodforward
(self, text)
lvdm/modules/encoders/condition2.py:122
Methodforward
(self, x, no_dropout=False)
lvdm/modules/encoders/condition2.py:168
Methodforward
(self, text)
lvdm/modules/encoders/condition2.py:213
Methodforward
(self, image, no_dropout=False)
lvdm/modules/encoders/condition2.py:285
Methodforward
(self, text)
lvdm/modules/encoders/condition2.py:312
Methodforward
(self, x)
lvdm/modules/encoders/adapter.py:30
Methodforward
(self, x)
lvdm/modules/encoders/adapter.py:57
Methodforward
(self, x)
lvdm/modules/encoders/adapter.py:90
Methodforward
(self, x, *args, **kwargs)
lvdm/models/ddpm3d.py:321
Methodforward
(self, x, c, **kwargs)
lvdm/models/ddpm3d.py:647
Methodforward
(self, x, t, c_concat: list = None, c_crossattn: list = None, c_adm=None, s=None, mask=None, *
lvdm/models/ddpm3d.py:1024
Methodforward
(self, input, sample_posterior=True)
lvdm/models/autoencoder.py:111
Methodforward
(self, x, *args, **kwargs)
lvdm/models/autoencoder.py:220
Functiongather_data
gather data from multiple processes to one list
lvdm/common.py:11
Methodget_last_layer
(self)
lvdm/modules/networks/ae_modules.py:362
Methodget_unconditional_conditioning
(self, bs, device="cuda")
lvdm/modules/encoders/condition2.py:47
Functiongroup_by_key_prefix
(prefix, d)
lvdm/modules/x_transformer.py:106
Functionidentity
(*args, **kwargs)
lvdm/common.py:48
Functioninit_
(tensor)
lvdm/common.py:77
Functioninner
(*args, **kwargs)
lvdm/modules/x_transformer.py:65
Functioninput_raw_camera_pose
(combine_type, camera_mode)
gradio_utils/page_control.py:539
Functionisimage
(x)
lvdm/common.py:65
Functionismap
(x)
lvdm/common.py:60
Methodkl
(self, other=None)
lvdm/distributions.py:42
Functionload_npz_from_dir
(data_dir)
utils/utils.py:48
Functionload_npz_from_paths
(data_paths)
utils/utils.py:54
Methodlog_images
(self, batch, N=8, n_row=2, sample=True, return_keys=None, **kwargs)
lvdm/models/ddpm3d.py:378
Methodlog_images
log images for LatentDiffusion
lvdm/models/ddpm3d.py:786
Methodlog_images
(self, batch, only_inputs=False, **kwargs)
lvdm/models/autoencoder.py:180
Functionmax_neg_value
(t)
lvdm/common.py:70
Functionmean_flat
Take the mean over all non-batch dimensions.
lvdm/common.py:54
Methodmode
(self)
lvdm/distributions.py:9
Methodmode
(self)
lvdm/distributions.py:64
Functionmodel_run
(prompts, choose_model, infer_mode, seed, n_samples, camera_args=None)
app.py:178
Methodnll
(self, sample, dims=[1,2,3])
lvdm/distributions.py:56
Functionnonlinearity
(type='silu')
lvdm/basics.py:75
Functionnormal_kl
source: https://github.com/openai/guided-diffusion/blob/27c20a8fab9cb472df5d6bdd6c8d11c8f430b924/guided_diffusion/losses.py#L12 Compute the K
lvdm/distributions.py:68
Methodon_train_batch_end
(self, *args, **kwargs)
lvdm/models/ddpm3d.py:366
Methodon_train_batch_start
(self, batch, batch_idx, dataloader_idx=None)
lvdm/models/ddpm3d.py:506
Functionpick_and_pop
(keys, d)
lvdm/modules/x_transformer.py:88
Methodq_mean_variance
Get the distribution q(x_t | x_0). :param x_start: the [N x C x ...] tensor of noiseless inputs. :param t: the number of diff
lvdm/models/ddpm3d.py:202
Methodregister_schedule
(self, given_betas=None, beta_schedule="linear", timesteps=1000, linear_start=1e-4,
lvdm/models/ddpm3d.py:523
Functionresize_numpy_image
(image, max_resolution=512 * 512, resize_short_edge=None)
utils/utils.py:60
Methodsample
(self)
lvdm/distributions.py:6
Methodsample
(self)
lvdm/distributions.py:17
Methodsample
(self, noise=None)
lvdm/distributions.py:35
Functionscale_module
Scale the parameters of a module and return it.
lvdm/basics.py:33
Functionselfattn_forward_unet
(self, x, timesteps, context=None, y=None, features_adapter=None, is_imgbatch=False, T=None, **kwargs)
motionctrl/lvdm_modified_modules.py:71
Functionsetup_dist
(args)
utils/utils.py:73
Functionsfm_reconstruction
(args, image_dir, output_dir, traj_dir, skip_exists=False, keep_intermediate=False)
dataset/object_trajectories/run_particlesfm_obj_traj.py:115
Functionshape_to_str
(x)
lvdm/common.py:73
Functionspatial_forward_BasicTransformerBlock
(self, x, context=None, mask=None)
motionctrl/lvdm_modified_modules.py:125
Functionstring_begins_with
(prefix, str)
lvdm/modules/x_transformer.py:102
Functiontemporal_attn_reshape
(x)
lvdm/modules/attention_temporal.py:670
Functiontemporal_attn_reshape_back
(x, b,h,w)
lvdm/modules/attention_temporal.py:672
Functiontemporal_selfattn_forward_BasicTransformerBlock
(self, x, context=None, mask=None)
motionctrl/lvdm_modified_modules.py:133
Methodtraining_step
(self, batch, batch_idx)
lvdm/models/ddpm3d.py:342
Methodtraining_step
(self, batch, batch_idx)
lvdm/models/ddpm3d.py:744
Methodtraining_step
(self, batch, batch_idx, optimizer_idx)
lvdm/models/autoencoder.py:130
Functionuniq
(arr)
lvdm/common.py:51
Methodvalidation_step
(self, batch, batch_idx)
lvdm/models/ddpm3d.py:358
Methodvalidation_step
(self, batch, batch_idx)
lvdm/models/autoencoder.py:151
Functionvisualized_camera_poses
(step2_camera_motion)
gradio_utils/page_control.py:327
Functionvisualized_step1
(model_name)
gradio_utils/page_control.py:58
Functionvisualized_step2
(infer_mode)
gradio_utils/page_control.py:186
Functionvisualized_traj_poses
(step2_object_motion)
gradio_utils/page_control.py:437
← previous301–380 of 380, ranked by callers