MCPcopy Create free account

hub / github.com/alibaba/animate-anything / functions

Functions387 in github.com/alibaba/animate-anything

↓ 1 callersFunctionconvert_text_enc_state_dict_v20
(text_enc_dict)
utils/convert_diffusers_to_original_ms_text_to_video.py:250
↓ 1 callersFunctionconvert_unet_state_dict
(unet_state_dict, strict_mapping=False)
utils/convert_diffusers_to_original_ms_text_to_video.py:172
↓ 1 callersFunctioncreate_example
(input_list)
app.py:187
↓ 1 callersFunctioncreate_logging
(logging, logger, accelerator)
train_lora.py:62
↓ 1 callersFunctioncreate_logging
(logging, logger, accelerator)
train.py:59
↓ 1 callersFunctioncreate_logging
(logging, logger, accelerator)
train_svd.py:59
↓ 1 callersFunctioncreate_lora_conv
(child_module, r, dropout=0, bias=False, rescale=False, scale=0)
stable_lora/lora.py:211
↓ 1 callersFunctioncreate_lora_conv3d
(child_module, r, dropout=0, bias=False, rescale=False, scale=0)
stable_lora/lora.py:226
↓ 1 callersFunctioncreate_lora_emb
(child_module, r)
stable_lora/lora.py:241
↓ 1 callersFunctioncreate_lora_linear
(child_module, r, dropout=0, bias=False, scale=0)
stable_lora/lora.py:199
↓ 1 callersFunctioncreate_optim_params
(name='param', params=None, lr=5e-6, extra_params=None)
train.py:169
↓ 1 callersFunctioncreate_optim_params
(name='param', params=None, lr=5e-6, extra_params=None)
train_svd.py:177
↓ 1 callersFunctioncreate_optimizer_params
(model_list, lr)
train_lora.py:194
↓ 1 callersFunctioncreate_optimizer_params
(model_list, lr)
train.py:191
↓ 1 callersFunctioncreate_optimizer_params
(model_list, lr)
train_svd.py:189
↓ 1 callersFunctioncreate_output_folders
(output_dir, config)
train_lora.py:78
↓ 1 callersFunctioncreate_output_folders
(output_dir, config)
train.py:75
↓ 1 callersFunctioncreate_output_folders
(output_dir, config)
train_svd.py:75
↓ 1 callersMethodcreate_video_chunks
(self)
utils/dataset.py:276
↓ 1 callersMethoddo_lora_injection
( self, model, replace_modules, bias='none', dropout=0, r=4
utils/lora_handler.py:188
↓ 1 callersFunctiondownload
(url, path)
utils/lama.py:49
↓ 1 callersFunctiondownload_progress
(t)
utils/lama.py:37
↓ 1 callersFunctioneval
(pipeline, vae_processor, validation_data, out_file, index, forward_t=25, preview=True)
train_lora.py:830
↓ 1 callersFunctioneval
(pipeline, vae_processor, validation_data, out_file, index, forward_t=25, preview=True)
train.py:731
↓ 1 callersFunctioneval
(pipeline, vae_processor, vae_alpha_encoder, vae_alpha_decoder, validation_data, out_file, index, forward_t=25
train_transparent_i2v_stage2.py:356
↓ 1 callersFunctionexport_to_video
(video_frames, output_video_path, fps)
train_transparent_i2v_stage2.py:90
↓ 1 callersFunctionextract_lora_as_tensor
( model, target_replace_module=DEFAULT_TARGET_REPLACE, as_fp16=True )
utils/lora.py:545
↓ 1 callersFunctionfind_modules
Find all modules of a certain class (or union of classes) that are direct or indirect descendants of other modules of a certain class
stable_lora/lora.py:27
↓ 1 callersFunctionfinetune_unet
(accelerator, batch, use_offset_noise, cache_latents, vae, rescale_schedule, offset_noise_strength, t
train_lora.py:757
↓ 1 callersFunctionfinetune_unet
(accelerator, batch, use_offset_noise, cache_latents, vae, rescale_schedule, offset_noise_strength, t
train.py:658
↓ 1 callersFunctionfinetune_unet
(accelerator, pipeline, batch, use_offset_noise, rescale_schedule, offset_noise_strength, unet, motion_mas
train_svd.py:347
↓ 1 callersMethodforward
(self, x: torch.Tensor)
stable_lora/lora.py:119
↓ 1 callersMethodforward
(self, x)
utils/lama.py:167
↓ 1 callersMethodforward
(self, attn, is_cross: bool, place_in_unet: str)
utils/ptp_utils.py:189
↓ 1 callersMethodforward
(self, x, latent)
models/layerdiffuse_VAE.py:148
↓ 1 callersFunctionfreeze_models
(models_to_freeze)
train_transparent_i2v_stage2.py:143
↓ 1 callersFunctionfreeze_models
(models_to_freeze)
train_svd.py:115
↓ 1 callersFunctionget_aligned_sequences
(x, y, trace_back)
utils/seq_aligner.py:79
↓ 1 callersFunctionget_bucket_sizes
(size, direction: 'down', min_size)
utils/bucketing.py:9
↓ 1 callersMethodget_files_list
(self)
utils/dataset.py:615
↓ 1 callersMethodget_lora_func_args
(self, lora_path, use_lora, model, replace_modules, r, dropout, lora_bias)
utils/lora_handler.py:168
↓ 1 callersFunctionget_mapper
(x: str, y: str, tokenizer, max_len=77)
utils/seq_aligner.py:107
↓ 1 callersFunctionget_matrix
(size_x, size_y, gap)
utils/seq_aligner.py:32
↓ 1 callersFunctionget_optimizer
(use_8bit_adam)
train_lora.py:227
↓ 1 callersFunctionget_optimizer
(use_8bit_adam)
train.py:204
↓ 1 callersFunctionget_optimizer
(use_8bit_adam)
train_svd.py:202
↓ 1 callersFunctionget_replacement_mapper_
(x: str, y: str, tokenizer, max_len=77)
utils/seq_aligner.py:152
↓ 1 callersFunctionget_traceback_matrix
(size_x, size_y)
utils/seq_aligner.py:53
↓ 1 callersFunctionget_video_info
(video_path)
app_svd.py:156
↓ 1 callersFunctionget_word_inds
(text: str, word_place: int, tokenizer)
utils/ptp_utils.py:363
↓ 1 callersFunctionglobal_align
(x, y, score)
utils/seq_aligner.py:61
↓ 1 callersMethodhandle_lora_load
(self, file_name:str, lora_loader_args: dict = None)
utils/lora_handler.py:150
↓ 1 callersFunctionhandle_memory_attention
(enable_xformers_memory_efficient_attention, enable_torch_2_attn, unet)
train_transparent_i2v_stage2.py:166
↓ 1 callersFunctionhandle_memory_attention
(enable_xformers_memory_efficient_attention, enable_torch_2_attn, unet)
train_svd.py:138
↓ 1 callersFunctionhandle_trainable_modules
(model, trainable_modules=None, is_enabled=True, negation=None)
train_lora.py:255
↓ 1 callersFunctionhandle_trainable_modules
(model, trainable_modules=None, is_enabled=True, negation=None)
train.py:232
↓ 1 callersFunctionhandle_trainable_modules
(model, trainable_modules=None, is_enabled=True, negation=None)
train_svd.py:230
↓ 1 callersMethodimage_batch
(self, index)
utils/dataset.py:400
↓ 1 callersFunctioninject_inferable_lora
( model, lora_path='', unet_replace_modules=["UNet3DConditionModel"], text_
utils/lora.py:482
↓ 1 callersFunctioninpaint_watermark
(imgs)
utils/lama.py:313
↓ 1 callersFunctionis_attn
(name)
train_lora.py:124
↓ 1 callersFunctionis_attn
(name)
train.py:121
↓ 1 callersFunctionis_attn
(name)
train_transparent_i2v_stage2.py:147
↓ 1 callersFunctionis_attn
(name)
train_svd.py:119
↓ 1 callersFunctionis_mixed_precision
(accelerator)
train_lora.py:240
↓ 1 callersFunctionis_mixed_precision
(accelerator)
train.py:217
↓ 1 callersFunctionis_mixed_precision
(accelerator)
train_svd.py:215
↓ 1 callersFunctionis_text_model
(f)
utils/lora.py:493
↓ 1 callersFunctionis_unet
(f)
utils/lora.py:494
↓ 1 callersMethodload_from_json
(self, path, json_data)
utils/dataset.py:180
↓ 1 callersFunctionload_learned_embed_in_clip
( learned_embeds_path, text_encoder, tokenizer, token: Optional[Union[str, List[str]]] = None,
utils/lora.py:1142
↓ 1 callersMethodload_lora
(self, model, lora_path: str = '', lora_loader_args: dict = None,)
utils/lora_handler.py:154
↓ 1 callersFunctionload_primary_models
(pretrained_model_path, in_channels=-1, motion_strength=False, xl=False, alpha_chechpoint=None)
train_transparent_i2v_stage2.py:108
↓ 1 callersFunctionmain
( pretrained_model_path: str, output_dir: str, train_data: Dict, validation_data: Dict, ex
train_lora.py:356
↓ 1 callersFunctionmain
( pretrained_model_path: str, output_dir: str, train_data: Dict, validation_data: Dict, ex
train.py:328
↓ 1 callersFunctionmain
( pretrained_model_path: str, output_dir: str, train_data: Dict, validation_data: Dict, ex
train_svd.py:435
↓ 1 callersFunctionmain_eval
( pretrained_model_path: str, validation_data: Dict, enable_xformers_memory_efficient_attention: b
train_lora.py:937
↓ 1 callersFunctionmain_eval
( pretrained_model_path: str, validation_data: Dict, enable_xformers_memory_efficient_attention: b
train.py:825
↓ 1 callersFunctionmain_eval
( validation_data: Dict, enable_xformers_memory_efficient_attention: bool = True, enable_torch_2_a
train_transparent_i2v_stage2.py:619
↓ 1 callersFunctionmain_eval
( pretrained_model_path: str, validation_data: Dict, seed: Optional[int] = None, eval_file = N
train_svd.py:796
↓ 1 callersFunctionmin_res
(size, min_size)
utils/bucketing.py:3
↓ 1 callersMethodmis_match_char
(self, x, y)
utils/seq_aligner.py:25
↓ 1 callersFunctionmonkeypatch_or_replace_safeloras
(models, safeloras)
utils/lora.py:982
↓ 1 callersFunctionparam_optim
(model, condition, extra_params=None, is_lora=False, negation=None)
train.py:158
↓ 1 callersFunctionparam_optim
(model, condition, extra_params=None, is_lora=False, negation=None)
train_svd.py:156
↓ 1 callersFunctionprepare_image
(image, width, height, batch_size, num_videos_per_prompt, device, dtype, do_classifier_free_guidance=True
utils/ptp_utils.py:40
↓ 1 callersFunctionprepare_input_output_pairs
(input_root, output_root)
compress_video.py:39
↓ 1 callersMethodprocess_video_wrapper
(self, vid_path)
utils/dataset.py:312
↓ 1 callersFunctionread_caption_file
(caption_file)
utils/dataset.py:57
↓ 1 callersMethodrealize_as_lora
(self)
utils/lora.py:64
↓ 1 callersFunctionremove_noise
( scheduler, original_samples: torch.FloatTensor, noise: torch.FloatTensor, ti
train_lora.py:734
↓ 1 callersFunctionremove_noise
( scheduler, original_samples: torch.FloatTensor, noise: torch.FloatTensor, ti
train.py:635
↓ 1 callersMethodreset_parameters
(self)
stable_lora/lora.py:164
↓ 1 callersFunctionsample_noise
(latents, noise_strength, use_offset_noise=False)
train_lora.py:277
↓ 1 callersFunctionsample_noise
(latents, noise_strength, use_offset_noise=False)
train.py:254
↓ 1 callersMethodsave_cloneofsimo_lora
(self, model, save_path, step)
utils/lora_handler.py:278
↓ 1 callersMethodsave_lora_weights
(self, model: None, save_path: str ='',step: str = '')
utils/lora_handler.py:334
↓ 1 callersMethodsave_stable_lora
( self, model, step, name, save_path = '', save_for_webui
utils/lora_handler.py:304
↓ 1 callersMethodset_attention_slice
r""" Enable sliced attention computation. When this option is enabled, the attention module will split the input tensor in slices, to
models/unet_3d_condition_mask.py:268
↓ 1 callersFunctionset_mode
(model, train=False)
stable_lora/lora.py:378
← previousnext →101–200 of 387, ranked by callers