MCPcopy Create free account

hub / github.com/TencentARC/MotionCtrl / functions

Functions380 in github.com/TencentARC/MotionCtrl

Method__init__
(self, ch_mult:list, in_channels, pretrained_model:nn.Module=None, reshape=F
lvdm/modules/networks/ae_modules.py:784
Method__init__
(self, channels, use_conv, dims=2, out_channels=None, padding=1)
lvdm/modules/networks/openaimodel3d_next.py:60
Method__init__
( self, channels, emb_channels, dropout, out_channels=None, us
lvdm/modules/networks/openaimodel3d_next.py:126
Method__init__
(self, in_channels, out_channels=None, dropout=0.0, spatial_aware=False, use_image_dataset=False)
lvdm/modules/networks/openaimodel3d_next.py:242
Method__init__
(self, in_channels, model_channels, out_channels,
lvdm/modules/networks/openaimodel3d_next.py:314
Method__init__
(self)
lvdm/modules/encoders/condition2.py:14
Method__init__
(self, version="google/t5-v1_1-large", device="cuda", max_length=77, freeze=True)
lvdm/modules/encoders/condition2.py:63
Method__init__
(self, version="openai/clip-vit-large-patch14", device="cuda", max_length=77, freeze=True, la
lvdm/modules/encoders/condition2.py:100
Method__init__
( self, model, jit=False, device='cuda' if torch.cuda.is_avail
lvdm/modules/encoders/condition2.py:140
Method__init__
(self, arch="ViT-H-14", version="laion2b_s32b_b79k", device="cuda", max_length=77, freeze=Tru
lvdm/modules/encoders/condition2.py:187
Method__init__
(self, arch="ViT-H-14", version="laion2b_s32b_b79k", device="cuda", max_length=77, freeze=Tru
lvdm/modules/encoders/condition2.py:246
Method__init__
(self, clip_version="openai/clip-vit-large-patch14", t5_version="google/t5-v1_1-xl", device="cuda",
lvdm/modules/encoders/condition2.py:301
Method__init__
(self, channels, use_conv, dims=2, out_channels=None, padding=1)
lvdm/modules/encoders/adapter.py:15
Method__init__
(self, in_c, out_c, down, ksize=3, sk=False, use_conv=True)
lvdm/modules/encoders/adapter.py:36
Method__init__
(self, first_stage_config, cond_stage_config, num_timesteps
lvdm/models/ddpm3d.py:426
Method__init__
(self, diff_model_config, conditioning_key)
lvdm/models/ddpm3d.py:1019
Method__init__
(self, *args, vq_interface=False, **kwargs)
lvdm/models/autoencoder.py:205
Method__init__
(self, model, schedule="linear", **kwargs)
lvdm/models/samplers/ddim.py:13
Method_forward
(self, x, context=None, temporal_context=None, mask=None, no_temporal_attn=None, )
lvdm/modules/attention_temporal.py:462
Method_forward
(self, x, context=None, mask=None)
lvdm/modules/attention.py:164
Method_forward
(self, x, emb, batch_size=None, is_imgbatch=False)
lvdm/modules/networks/openaimodel3d_next.py:212
Method_forward_no_temporal_attn
(self, x, context=None, temporal_context=None, )
lvdm/modules/attention_temporal.py:480
Method_forward_nocontext
(self, x, no_temporal_attn=None)
lvdm/modules/attention_temporal.py:501
Functionadd_camera_motion
(camera_motion, camera_mode)
gradio_utils/page_control.py:495
Functionadd_complex_camera_motion
(camera_motion)
gradio_utils/page_control.py:506
Functionadd_provided_traj
(traj_name)
gradio_utils/page_control.py:577
Functionadd_traj_point
(evt: gr.SelectData, )
gradio_utils/page_control.py:571
Functionautocast
(f)
lvdm/common.py:19
Methodbackward
for x in ctx.input_tensors: if isinstance(x, int): print('-----------------', ctx.run_function)
lvdm/common.py:120
Functionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
lvdm/models/utils_diffusion.py:89
Functionchange_camera_mode
(combine_type, camera_mode)
gradio_utils/page_control.py:511
Functionchange_camera_speed
(camera_speed)
gradio_utils/page_control.py:566
Functioncheck_istarget
name: full name of source para para_list: partial name of target para
utils/utils.py:18
Methodconfigure_optimizers
(self)
lvdm/models/ddpm3d.py:415
Methodconfigure_optimizers
configure_optimizers for LatentDiffusion
lvdm/models/ddpm3d.py:960
Methodconfigure_optimizers
(self)
lvdm/models/autoencoder.py:165
Methodcount_flops
(model, _x, y)
lvdm/modules/attention_temporal.py:911
Methoddecode
(self, x, *args, **kwargs)
lvdm/models/autoencoder.py:212
Methoddifferentiable_decode_first_stage
same as decode_first_stage but without decorator
lvdm/models/ddpm3d.py:603
Functiondisabled_train
Overwrite model.train with this function to make sure train/eval mode does not change anymore.
lvdm/basics.py:20
Functiondisabled_train
Overwrite model.train with this function to make sure train/eval mode does not change anymore.
lvdm/modules/encoders/condition2.py:54
Functiondo_autocast
(*args, **kwargs)
lvdm/common.py:20
Methodefficient_forward
(self, x, context=None, mask=None)
lvdm/modules/attention_temporal.py:327
Methodefficient_forward
(self, x, context=None, mask=None)
lvdm/modules/attention.py:105
Methodencode
(self, x)
lvdm/modules/encoders/condition2.py:23
Methodencode
(self, text)
lvdm/modules/encoders/condition2.py:88
Methodencode
(self, text)
lvdm/modules/encoders/condition2.py:135
Methodencode
(self, text)
lvdm/modules/encoders/condition2.py:237
Methodencode
(self, text)
lvdm/modules/encoders/condition2.py:296
Methodencode
(self, text)
lvdm/modules/encoders/condition2.py:309
Methodencode
(self, x, *args, **kwargs)
lvdm/models/autoencoder.py:209
Functionfn_traj_droplast
()
gradio_utils/page_control.py:585
Functionfn_vis_camera
(info_mode, camera_args=None)
gradio_utils/page_control.py:596
Functionfn_vis_traj
()
gradio_utils/page_control.py:637
Methodforward
(self,model)
lvdm/ema.py:25
Methodforward
(ctx, run_function, length, *args)
lvdm/common.py:109
Methodforward
(self, x)
lvdm/basics.py:83
Methodforward
(self, c_concat, c_crossattn)
lvdm/basics.py:103
Methodforward
(self, x)
lvdm/modules/attention_temporal.py:57
Methodforward
(self, length_q, length_k)
lvdm/modules/attention_temporal.py:76
Methodforward
(self, x, context=None, mask=None)
lvdm/modules/attention_temporal.py:179
Methodforward
(self, x, context=None, mask=None)
lvdm/modules/attention_temporal.py:295
Methodforward
(self, x, context=None, mask=None)
lvdm/modules/attention_temporal.py:358
Methodforward
(self, x, context=None, temporal_context=None, no_temporal_attn=None, attn_mask=None, **kwargs)
lvdm/modules/attention_temporal.py:438
Methodforward
(self, x, context=None, temporal_context=None, **kwargs)
lvdm/modules/attention_temporal.py:755
Methodforward
(self, x, mask=None)
lvdm/modules/attention_temporal.py:842
Methodforward
Apply QKV attention. :param qkv: an [N x (H * 3 * C) x T] tensor of Qs, Ks, and Vs. :return: an [N x (H * C) x T] tensor aft
lvdm/modules/attention_temporal.py:889
Methodforward
Apply QKV attention. :param qkv: an [N x (3 * H * C) x T] tensor of Qs, Ks, and Vs. :return: an [N x (H * C) x T] tensor aft
lvdm/modules/attention_temporal.py:925
Methodforward
(self, x)
lvdm/modules/x_transformer.py:34
Methodforward
(self, x, seq_dim=1, offset=0)
lvdm/modules/x_transformer.py:45
Methodforward
(self, x, **kwargs)
lvdm/modules/x_transformer.py:123
Methodforward
(self, x, **kwargs)
lvdm/modules/x_transformer.py:134
Methodforward
(self, x)
lvdm/modules/x_transformer.py:146
Methodforward
(self, x)
lvdm/modules/x_transformer.py:158
Methodforward
(self, x, residual)
lvdm/modules/x_transformer.py:164
Methodforward
(self, x, residual)
lvdm/modules/x_transformer.py:173
Methodforward
(self, x)
lvdm/modules/x_transformer.py:189
Methodforward
(self, x)
lvdm/modules/x_transformer.py:210
Methodforward
( self, x, context=None, mask=None, context_mask=N
lvdm/modules/x_transformer.py:268
Methodforward
( self, x, context=None, mask=None, context_mask=N
lvdm/modules/x_transformer.py:481
Methodforward
( self, x, return_embeddings=False, mask=None, ret
lvdm/modules/x_transformer.py:598
Methodforward
(self, length_q, length_k)
lvdm/modules/attention.py:30
Methodforward
(self, x, context=None, mask=None)
lvdm/modules/attention.py:71
Methodforward
(self, x, context=None, mask=None)
lvdm/modules/attention.py:150
Methodforward
(self, x, context=None)
lvdm/modules/attention.py:209
Methodforward
(self, x, context=None, is_imgbatch=False)
lvdm/modules/attention.py:276
Methodforward
(self, x)
lvdm/modules/attention.py:334
Methodforward
(self, x)
lvdm/modules/attention.py:355
Methodforward
(self, x)
lvdm/modules/attention.py:367
Methodforward
(self, x)
lvdm/modules/attention.py:405
Methodforward
(self, x)
lvdm/modules/networks/ae_modules.py:55
Methodforward
(self, x)
lvdm/modules/networks/ae_modules.py:104
Methodforward
(self, x)
lvdm/modules/networks/ae_modules.py:125
Methodforward
(self, x, temb)
lvdm/modules/networks/ae_modules.py:192
Methodforward
(self, x, t=None, context=None)
lvdm/modules/networks/ae_modules.py:314
Methodforward
(self, x)
lvdm/modules/networks/ae_modules.py:432
Methodforward
(self, z)
lvdm/modules/networks/ae_modules.py:541
Methodforward
(self, x)
lvdm/modules/networks/ae_modules.py:606
Methodforward
(self, x)
lvdm/modules/networks/ae_modules.py:653
Methodforward
(self, x)
lvdm/modules/networks/ae_modules.py:692
← previousnext →201–300 of 380, ranked by callers