MCPcopy Create free account

hub / github.com/bytedance/StyleSSP / functions

Functions440 in github.com/bytedance/StyleSSP

Functioncalc_mean_std
(feat, eps=1e-5)
evaluation/image_metrics.py:17
Functioncalculate_metrics
(image1, image2, device = 'cuda', size=(512, 512))
src/metrics/metric_util.py:47
Methodclip_skip
(self)
pipeline_controlnet_inpaint_sd_xl.py:1314
Methodclip_skip
(self)
pipeline_controlnet_sd_xl_img2img_plus.py:1135
Methodclip_skip
(self)
pipeline_controlnet_sd_xl_img2img.py:944
Methodclip_skip
(self)
ip_adapter/pipeline_stable_diffusion_sdxl_extra_cfg.py:806
Methodclip_skip
(self)
ip_adapter/pipeline_stable_diffusion_sd3_extra_cfg.py:660
Methodclip_skip
(self)
ip_adapter/pipeline_stable_diffusion_extra_cfg.py:753
Functioncompute_cfsd
Computes CFSD for the given paths. Args: path_to_stylized (str): Path to the stylized images. path_to_content (str): Path to the
evaluation/eval_artfid.py:428
Functionconcatenate_images
(image_lists, return_list = False)
src/utils/images_utils.py:17
Functionconcatenate_images_single
(image_lists)
src/utils/images_utils.py:40
Methodcontent_forward
(self, input)
src/evaluate/image_metrics.py:187
Methodcontent_forward
(self, input)
evaluation/image_metrics.py:187
Methodcross_attention_kwargs
(self)
pipeline_controlnet_inpaint_sd_xl.py:1326
Methodcross_attention_kwargs
(self)
pipeline_controlnet_sd_xl_img2img_plus.py:1146
Methodcross_attention_kwargs
(self)
pipeline_controlnet_sd_xl_img2img.py:955
Methodcross_attention_kwargs
(self)
ip_adapter/pipeline_stable_diffusion_sdxl_extra_cfg.py:817
Methodcross_attention_kwargs
(self)
ip_adapter/pipeline_stable_diffusion_extra_cfg.py:764
Methoddecode_latents
(self, latents)
ip_adapter/pipeline_stable_diffusion_extra_cfg.py:594
Methoddenoising_end
(self)
pipeline_controlnet_sd_xl_img2img_plus.py:1154
Methoddenoising_end
(self)
pipeline_controlnet_sd_xl_img2img.py:959
Methoddenoising_end
(self)
ip_adapter/pipeline_stable_diffusion_sdxl_extra_cfg.py:821
Methoddenoising_start
(self)
pipeline_controlnet_sd_xl_img2img_plus.py:1158
Methoddenoising_start
(self)
pipeline_controlnet_sd_xl_img2img.py:963
Methoddenoising_value_valid
(dnv)
pipeline_controlnet_inpaint_sd_xl.py:1682
Methoddenoising_value_valid
(dnv)
pipeline_controlnet_sd_xl_img2img_plus.py:1619
Methoddenoising_value_valid
(dnv)
pipeline_controlnet_sd_xl_img2img.py:1319
Methoddenoising_value_valid
(dnv)
src/pipes/sdxl_inversion_pipeline.py:145
Methoddo_classifier_free_guidance
(self)
pipeline_controlnet_inpaint_sd_xl.py:1321
Methoddo_classifier_free_guidance
(self)
pipeline_controlnet_sd_xl_img2img_plus.py:1142
Methoddo_classifier_free_guidance
(self)
pipeline_controlnet_sd_xl_img2img.py:951
Methoddo_classifier_free_guidance
(self)
ip_adapter/pipeline_stable_diffusion_sdxl_extra_cfg.py:813
Methoddo_classifier_free_guidance
(self)
ip_adapter/pipeline_stable_diffusion_sd3_extra_cfg.py:667
Methoddo_classifier_free_guidance
(self)
ip_adapter/pipeline_stable_diffusion_extra_cfg.py:760
Functiondownload
(url, ckpt_dir=None)
src/evaluate/utils.py:10
Functiondownload
(url, ckpt_dir=None)
evaluation/utils.py:10
Methodforward
(self, x)
ip_adapter/resampler_Instruct.py:75
Methodforward
Args: x (torch.Tensor): image features shape (b, n1, D) latent (torch.Tensor): latent features
ip_adapter/resampler_Instruct.py:120
Methodforward
Args: x (torch.Tensor): image features shape (b, n1, D) latent (torch.Tensor): latent features
ip_adapter/resampler_Instruct.py:167
Methodforward
(self, x, new_input)
ip_adapter/resampler_Instruct.py:250
Methodforward
(self, x, new_input, prompt_input)
ip_adapter/resampler_Instruct.py:338
Methodforward
( self, hidden_states: torch.FloatTensor, encoder_hidden_states: torch.FloatTensor, temb: torch.FloatT
ip_adapter/joint_attention_block_modified.py:12
Methodforward
Args: x (torch.Tensor): image features shape (b, n1, D) latent (torch.Tensor): latent features
ip_adapter/resampler_SD3.py:51
Methodforward
(self, x)
ip_adapter/resampler_SD3.py:137
Methodforward
(self, x, new_input,prompt_input)
ip_adapter/resampler_SD3.py:259
Methodforward
Args: x (torch.Tensor): image features shape (b, n1, D) latent (torch.Tensor): latent features
ip_adapter/resampler.py:51
Methodforward
(self, x)
ip_adapter/resampler.py:129
Methodforward
(self, image_embeds)
ip_adapter/ip_adapter.py:45
Methodforward
(self, image_embeds)
ip_adapter/ip_adapter.py:66
Methodforward
(self, content, style, encoded_only = False)
src/evaluate/net.py:108
Methodforward
(self, adain_feat)
src/evaluate/net.py:153
Methodforward
(self, x, y)
src/evaluate/image_metrics.py:52
Methodforward
(self, x, y)
src/evaluate/image_metrics.py:72
Methodforward
(self, x, y)
src/evaluate/image_metrics.py:83
Methodforward
(self, input, target)
src/evaluate/image_metrics.py:127
Methodforward
(self, input, target)
src/evaluate/image_metrics.py:177
Methodforward
(self, x: Tensor, return_features: bool=False)
src/evaluate/inception.py:158
Methodforward
(self, x: Tensor)
src/evaluate/inception.py:206
Methodforward
(self, x: Tensor)
src/evaluate/inception.py:234
Methodforward
(self, x: Tensor)
src/evaluate/inception.py:280
Methodforward
(self, x: Tensor)
src/evaluate/inception.py:311
Methodforward
(self, x: Tensor)
src/evaluate/inception.py:358
Methodforward
(self, x: Tensor)
src/evaluate/inception.py:376
Methodforward
(self, x: Tensor)
src/evaluate/inception.py:400
Methodforward
(self, x: torch.Tensor)
src/metrics/lpips.py:43
Methodforward
(self, x: torch.Tensor, y: torch.Tensor)
src/metrics/lpips.py:143
Methodforward
(self, content, style, encoded_only = False)
evaluation/net.py:108
Methodforward
(self, adain_feat)
evaluation/net.py:153
Methodforward
(self, x, y)
evaluation/image_metrics.py:52
Methodforward
(self, x, y)
evaluation/image_metrics.py:72
Methodforward
(self, x, y)
evaluation/image_metrics.py:83
Methodforward
(self, input, target)
evaluation/image_metrics.py:127
Methodforward
(self, input, target)
evaluation/image_metrics.py:177
Methodforward
(self, x: Tensor, return_features: bool=False)
evaluation/inception.py:158
Methodforward
(self, x: Tensor)
evaluation/inception.py:206
Methodforward
(self, x: Tensor)
evaluation/inception.py:234
Methodforward
(self, x: Tensor)
evaluation/inception.py:280
Methodforward
(self, x: Tensor)
evaluation/inception.py:311
Methodforward
(self, x: Tensor)
evaluation/inception.py:358
Methodforward
(self, x: Tensor)
evaluation/inception.py:376
Methodforward
(self, x: Tensor)
evaluation/inception.py:400
Functionforward_hook
(module, input, output)
ip_adapter/utils.py:11
Functionfreq_1d
Noise reinitialization. Args: x: diffused latent noise: randomly sampled noise LPF: low pass filter
src/frequency_utils.py:63
Functionfreq_3d
Noise reinitialization. Args: x: diffused latent noise: randomly sampled noise LPF: low pass filter
src/frequency_utils.py:94
Functionfreq_exp_mask
Frequency manipulation for latent space.
src/frequency_utils.py:326
Functionfreq_mix_3d
Noise reinitialization. Args: x: diffused latent noise: randomly sampled noise LPF: low pass filter
src/frequency_utils.py:133
Functionfrom_latents2img
(pipe_inf, latents)
src/renoise_inversion.py:346
Methodgenerate
( self, pil_image=None, clip_image_embeds=None, prompt=None, negative_
ip_adapter/ip_adapter_instruct.py:161
Methodgenerate
( self, pil_image=None, clip_image_embeds=None, prompt=None, negative_
ip_adapter/ip_adapter_instruct.py:335
Methodgenerate
( self, pil_image=None, clip_image_embeds=None, prompt=None,
ip_adapter/ip_adapter_instruct.py:618
Methodgenerate
( self, pil_image=None, clip_image_embeds=None, prompt=None,
ip_adapter/ip_adapter_instruct.py:819
Methodgenerate
( self, pil_image, prompt=None, negative_prompt=None, scale=1.0,
ip_adapter/ip_adapter.py:230
Methodgenerate
( self, pil_image, prompt=None, negative_prompt=None, scale=1.0,
ip_adapter/ip_adapter.py:364
Functionget_captions_for_images
(images, device)
src/utils/images_utils.py:57
Methodget_decouple_embeds
( self, pil_image=None, clip_image=None, clip_image_embeds=None, promp
ip_adapter/ip_adapter_instruct.py:298
Functionget_empty_metrics
()
src/metrics/metric_util.py:60
Methodget_image_embeds
(self, pil_image=None, clip_image_embeds=None)
ip_adapter/ip_adapter.py:309
Functionget_lowAndHigh_image
(image, low_thred=5)
src/frequency_utils.py:482
Functionget_net_attn_map
(image_size, batch_size=2, instance_or_negative=False, detach=True)
ip_adapter/utils.py:49
Methodget_noise_to_remove
(self)
src/schedulers/euler_scheduler.py:30
← previousnext →301–400 of 440, ranked by callers