MCPcopy Create free account

hub / github.com/KlingAIResearch/ReCamMaster / functions

Functions1,885 in github.com/KlingAIResearch/ReCamMaster

Methodinit_parameters
(self)
diffsynth/extensions/ImageQualityMetric/open_clip/hf_model.py:175
Methodinit_parameters
(self)
diffsynth/extensions/ImageQualityMetric/open_clip/transformer.py:677
Methodinit_weight
(self, conv)
diffsynth/models/wan_video_vae.py:176
Methodinit_weight2
(self, conv)
diffsynth/models/wan_video_vae.py:187
Functioninit_weights
(m)
diffsynth/models/wan_video_text_encoder.py:192
Methodinterpolate_
(self, images, scale=1.0)
diffsynth/extensions/RIFE/__init__.py:159
Functioninterpolate_video
( frames_path, keyframes_path, output_path, fps, batch_size, tracking_window_size,
diffsynth/extensions/FastBlend/api.py:202
Methodinv_vocab
(self)
diffsynth/models/stepvideo_text_encoder.py:170
Methodis_image
(self, file_path)
inference_recammaster.py:81
Functionis_pretrained_cfg
(model: str, tag: str)
diffsynth/extensions/ImageQualityMetric/open_clip/pretrained.py:265
Functionlaunch_training_task
(model, args)
diffsynth/trainers/text_to_image.py:267
Functionlets_dance_hunyuan_video
( dit: HunyuanVideoDiT, x: torch.Tensor, t: torch.Tensor, prompt_emb: torch.Tensor = None,
diffsynth/pipelines/hunyuan_video.py:297
Functionlets_dance_hunyuan_video_i2v
( dit: HunyuanVideoDiT, x: torch.Tensor, t: torch.Tensor, prompt_emb: torch.Tensor = None,
diffsynth/pipelines/hunyuan_video.py:343
Functionlist_pretrained
returns list of pretrained models Returns a tuple (model_name, pretrain_tag) by default or 'name:tag' if as_str == True
diffsynth/extensions/ImageQualityMetric/open_clip/pretrained.py:240
Methodload
(self, file_path="", state_dict={}, device="cuda", torch_dtype=torch.float16, **kwargs)
diffsynth/models/model_manager.py:176
Methodload
(self, file_path="", state_dict={}, device="cuda", torch_dtype=torch.float16, **kwargs)
diffsynth/models/model_manager.py:216
Methodload
(self, file_path="", state_dict={}, device="cuda", torch_dtype=torch.float16, **kwargs)
diffsynth/models/model_manager.py:260
Methodload
(self, file_path="", state_dict={}, device="cuda", torch_dtype=torch.float16, model_manager=None, **kwargs)
diffsynth/models/model_manager.py:299
Methodload
(self, model, state_dict_lora, lora_prefix="", alpha=1.0, model_resource="")
diffsynth/models/lora.py:246
Functionload_checkpoint
(model,url_or_filename)
diffsynth/extensions/ImageQualityMetric/BLIP/blip.py:53
Methodload_lora
(self, file_path="", state_dict={}, lora_alpha=1.0)
diffsynth/models/model_manager.py:373
Methodload_model_from_huggingface_folder
(self, file_path="", model_names=[], model_classes=[])
diffsynth/models/model_manager.py:352
Methodload_model_from_single_file
(self, file_path="", state_dict={}, model_names=[], model_classes=[], model_resource=None)
diffsynth/models/model_manager.py:340
Methodload_models
(self)
diffsynth/trainers/text_to_image.py:25
Methodload_models_to_device
(self, loadmodel_names=[], device="cpu")
diffsynth/models/hunyuan_video_dit.py:621
Methodload_patch_model_from_single_file
(self, file_path="", state_dict={}, model_names=[], model_classes=[], extra_kwargs={})
diffsynth/models/model_manager.py:362
Functionload_preference_model
(model_name: preference_model_id, device = "cuda", path = None)
diffsynth/extensions/ImageQualityMetric/__init__.py:144
Methodload_pretrained
(self, checkpoint_path, prefix='')
diffsynth/extensions/ImageQualityMetric/BLIP/vit.py:193
Methodlock
(self, unlocked_groups=0, freeze_bn_stats=False)
diffsynth/extensions/ImageQualityMetric/open_clip/modified_resnet.py:154
Methodlock
(self, unlocked_layers: int = 0, freeze_layer_norm: bool = True)
diffsynth/extensions/ImageQualityMetric/open_clip/hf_model.py:154
Methodlock
(self, unlocked_groups=0, freeze_bn_stats=False)
diffsynth/extensions/ImageQualityMetric/open_clip/transformer.py:395
Methodlock_image_tower
(self, unlocked_groups=0, freeze_bn_stats=False)
diffsynth/extensions/ImageQualityMetric/open_clip/model.py:203
Methodlock_image_tower
(self, unlocked_groups=0, freeze_bn_stats=False)
diffsynth/extensions/ImageQualityMetric/open_clip/model.py:276
Methodlock_text_tower
(self, unlocked_layers: int = 0, freeze_layer_norm: bool = True)
diffsynth/extensions/ImageQualityMetric/open_clip/model.py:207
Methodlock_text_tower
(self, unlocked_layers: int = 0, freeze_layer_norm: bool = True)
diffsynth/extensions/ImageQualityMetric/open_clip/model.py:280
Methodlogit_scale
(self)
diffsynth/extensions/ImageQualityMetric/trainer/models/clip_model.py:141
Methodmatch
(self, file_path="", state_dict={})
diffsynth/models/model_manager.py:162
Methodmatch
(self, file_path="", state_dict={})
diffsynth/models/model_manager.py:204
Methodmatch
(self, file_path="", state_dict={})
diffsynth/models/model_manager.py:247
Methodmatch
(self, file_path="", state_dict={})
diffsynth/models/model_manager.py:288
Methodmatch
(self, model, state_dict_lora)
diffsynth/models/lora.py:99
Methodmatch
(self, model: torch.nn.Module, state_dict_lora)
diffsynth/models/lora.py:221
Methodno_weight_decay
(self)
diffsynth/extensions/ImageQualityMetric/BLIP/vit.py:173
Methodoffload
(self)
diffsynth/vram_management/layers.py:55
Methodon_save_checkpoint
(self, checkpoint)
train_recammaster.py:376
Methodon_save_checkpoint
(self, checkpoint)
diffsynth/trainers/text_to_image.py:104
Functionon_ui_tabs
()
diffsynth/extensions/FastBlend/api.py:257
Methodonload
(self)
diffsynth/vram_management/layers.py:60
Methodpad_token
(self)
diffsynth/prompters/kolors_prompter.py:125
Methodpad_token_id
(self)
diffsynth/prompters/kolors_prompter.py:129
Methodparam_groups
(self)
diffsynth/models/wan_video_image_encoder.py:601
Methodparam_groups
(self)
diffsynth/models/wan_video_image_encoder.py:722
Functionparse
(x)
diffsynth/extensions/ImageQualityMetric/open_clip/utils.py:49
Methodprepare_extra_input
(self, latents=None)
diffsynth/pipelines/sd3_image.py:69
Methodprepare_extra_input
(self, latents=None)
diffsynth/pipelines/omnigen_image.py:178
Methodprepare_inputs_for_generation
(self, input_ids, past=None, attention_mask=None, **model_kwargs)
diffsynth/extensions/ImageQualityMetric/BLIP/med.py:924
Methodprocess_image
(self, image, processor_id=None)
diffsynth/controlnets/controlnet_unit.py:37
Methodprocess_image
(self, image, processor_id=None)
diffsynth/controlnets/controlnet_unit.py:72
Methodquantize
(self)
diffsynth/models/flux_controlnet.py:109
Methodquantize
(self)
diffsynth/models/flux_dit.py:474
Methodraw_data
(self)
diffsynth/data/video.py:94
Functionread_images
(folder)
diffsynth/extensions/FastBlend/data.py:73
Functionread_video
(file_name)
diffsynth/extensions/FastBlend/data.py:6
Functionregister_empty_buffer
(module, name, buffer, persistent=True)
diffsynth/models/utils.py:21
Functionregister_empty_parameter
(module, name, param)
diffsynth/models/utils.py:13
Functionregister_pooler
Decorator registering pooler class
diffsynth/extensions/ImageQualityMetric/open_clip/hf_model.py:40
Methodreplace_layer
(model, dtype=torch.bfloat16, device="cuda")
diffsynth/models/hunyuan_video_dit.py:772
Methodreplace_layer
(model)
diffsynth/models/flux_controlnet.py:175
Methodreplace_layer
(model)
diffsynth/models/flux_dit.py:530
Methodreturn_to_timestep
(self, timestep, sample, sample_stablized)
diffsynth/schedulers/continuous_ode.py:36
Methodreturn_to_timestep
(self, timestep, sample, sample_stablized)
diffsynth/schedulers/flow_match.py:53
Methodrun
(self, config)
diffsynth/pipelines/pipeline_runner.py:82
Methodrun
(self, frames_guide, frames_style, index_style, batch_size, ebsynth_config, save_path=None)
diffsynth/extensions/FastBlend/runners/interpolation.py:48
Methodrun
(self, frames_guide, frames_style, index_style, batch_size, ebsynth_config, save_path=None)
diffsynth/extensions/FastBlend/runners/interpolation.py:91
Methodrun
(self, frames_guide, frames_style, batch_size, window_size, ebsynth_config, desc="Accurate Mode", save_path=No
diffsynth/extensions/FastBlend/runners/accurate.py:12
Methodrun
(self, frames_guide, frames_style, batch_size, window_size, ebsynth_config, save_path=None)
diffsynth/extensions/FastBlend/runners/fast.py:113
Methodrun
(self, frames_guide, frames_style, batch_size, window_size, ebsynth_config, desc="Balanced Mode", save_path=No
diffsynth/extensions/FastBlend/runners/balanced.py:12
Functionsafediv
(n, d)
diffsynth/models/stepvideo_text_encoder.py:275
Methodsample
(self, imgs, deterministic=False)
diffsynth/models/wan_video_vae.py:582
Methodsave_attn_gradients
(self, attn_gradients)
diffsynth/extensions/ImageQualityMetric/BLIP/vit.py:54
Methodsave_attn_gradients
(self, attn_gradients)
diffsynth/extensions/ImageQualityMetric/BLIP/med.py:118
Methodsave_images
(self, folder)
diffsynth/data/video.py:131
Methodsave_vocabulary
Save the vocabulary and special tokens file to a directory. Args: save_directory (`str`): The directory
diffsynth/prompters/kolors_prompter.py:164
Methodscore
Score the images based on their aesthetic quality. Args: images (Union[str, List[str], Image.Image, List[Image.Image]]): Path(s)
diffsynth/extensions/ImageQualityMetric/aesthetic.py:96
Methodscore
Score the images based on the prompt. Args: images (Union[str, List[str], Image.Image, List[Image.Image]]): Path(s) to the image(
diffsynth/extensions/ImageQualityMetric/clip.py:67
Methodscore
Score the images based on the prompt. Args: images (Union[str, List[str], Image.Image, List[Image.Image]]): Path(s) to the image(
diffsynth/extensions/ImageQualityMetric/mps.py:99
Methodscore
Score the images based on the prompt. Args: images (Union[str, List[str], Image.Image, List[Image.Image]]): Path(s) to the image(
diffsynth/extensions/ImageQualityMetric/hps.py:85
Methodscore
Score the images based on the prompt. Args: images (Union[str, List[str], Image.Image, List[Image.Image]]): Path(s) to the image(
diffsynth/extensions/ImageQualityMetric/imagereward.py:202
Methodscore
Score the images based on the prompt. Args: images (Union[str, List[str], Image.Image, List[Image.Image]]): Path(s) to the image(
diffsynth/extensions/ImageQualityMetric/pickscore.py:58
Methodscore_grad
Calculate the score with gradient for a single image and prompt. Args: prompt_ids (torch.Tensor): Tokenized prompt IDs.
diffsynth/extensions/ImageQualityMetric/imagereward.py:66
Functionsearch_for_files
(folder, extensions)
diffsynth/models/utils.py:135
Methodset_global_description
(self, description: str, detailed_descriptions: list, tags: str, HTML_web_color
diffsynth/prompters/omost.py:132
Methodset_grad_checkpointing
(self, enable=True)
diffsynth/extensions/ImageQualityMetric/open_clip/coca_model.py:126
Methodset_grad_checkpointing
(self, enable=True)
diffsynth/extensions/ImageQualityMetric/open_clip/modified_resnet.py:162
Methodset_grad_checkpointing
(self, enable=True)
diffsynth/extensions/ImageQualityMetric/open_clip/timm_model.py:118
Methodset_grad_checkpointing
(self, enable=True)
diffsynth/extensions/ImageQualityMetric/open_clip/hf_model.py:172
Methodset_grad_checkpointing
(self, enable=True)
diffsynth/extensions/ImageQualityMetric/open_clip/transformer.py:449
Methodset_grad_checkpointing
(self, enable=True)
diffsynth/extensions/ImageQualityMetric/open_clip/transformer.py:577
Methodset_grad_checkpointing
(self, enable=True)
diffsynth/extensions/ImageQualityMetric/open_clip/transformer.py:726
Methodset_grad_checkpointing
(self, enable=True)
diffsynth/extensions/ImageQualityMetric/open_clip/model.py:284
← previousnext →1,701–1,800 of 1,885, ranked by callers