Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/StyleSSP
/ functions
Functions
440 in github.com/bytedance/StyleSSP
⨍
Functions
440
◇
Types & classes
84
Function
calc_mean_std
(feat, eps=1e-5)
evaluation/image_metrics.py:17
Function
calculate_metrics
(image1, image2, device = 'cuda', size=(512, 512))
src/metrics/metric_util.py:47
Method
clip_skip
(self)
pipeline_controlnet_inpaint_sd_xl.py:1314
Method
clip_skip
(self)
pipeline_controlnet_sd_xl_img2img_plus.py:1135
Method
clip_skip
(self)
pipeline_controlnet_sd_xl_img2img.py:944
Method
clip_skip
(self)
ip_adapter/pipeline_stable_diffusion_sdxl_extra_cfg.py:806
Method
clip_skip
(self)
ip_adapter/pipeline_stable_diffusion_sd3_extra_cfg.py:660
Method
clip_skip
(self)
ip_adapter/pipeline_stable_diffusion_extra_cfg.py:753
Function
compute_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
Function
concatenate_images
(image_lists, return_list = False)
src/utils/images_utils.py:17
Function
concatenate_images_single
(image_lists)
src/utils/images_utils.py:40
Method
content_forward
(self, input)
src/evaluate/image_metrics.py:187
Method
content_forward
(self, input)
evaluation/image_metrics.py:187
Method
cross_attention_kwargs
(self)
pipeline_controlnet_inpaint_sd_xl.py:1326
Method
cross_attention_kwargs
(self)
pipeline_controlnet_sd_xl_img2img_plus.py:1146
Method
cross_attention_kwargs
(self)
pipeline_controlnet_sd_xl_img2img.py:955
Method
cross_attention_kwargs
(self)
ip_adapter/pipeline_stable_diffusion_sdxl_extra_cfg.py:817
Method
cross_attention_kwargs
(self)
ip_adapter/pipeline_stable_diffusion_extra_cfg.py:764
Method
decode_latents
(self, latents)
ip_adapter/pipeline_stable_diffusion_extra_cfg.py:594
Method
denoising_end
(self)
pipeline_controlnet_sd_xl_img2img_plus.py:1154
Method
denoising_end
(self)
pipeline_controlnet_sd_xl_img2img.py:959
Method
denoising_end
(self)
ip_adapter/pipeline_stable_diffusion_sdxl_extra_cfg.py:821
Method
denoising_start
(self)
pipeline_controlnet_sd_xl_img2img_plus.py:1158
Method
denoising_start
(self)
pipeline_controlnet_sd_xl_img2img.py:963
Method
denoising_value_valid
(dnv)
pipeline_controlnet_inpaint_sd_xl.py:1682
Method
denoising_value_valid
(dnv)
pipeline_controlnet_sd_xl_img2img_plus.py:1619
Method
denoising_value_valid
(dnv)
pipeline_controlnet_sd_xl_img2img.py:1319
Method
denoising_value_valid
(dnv)
src/pipes/sdxl_inversion_pipeline.py:145
Method
do_classifier_free_guidance
(self)
pipeline_controlnet_inpaint_sd_xl.py:1321
Method
do_classifier_free_guidance
(self)
pipeline_controlnet_sd_xl_img2img_plus.py:1142
Method
do_classifier_free_guidance
(self)
pipeline_controlnet_sd_xl_img2img.py:951
Method
do_classifier_free_guidance
(self)
ip_adapter/pipeline_stable_diffusion_sdxl_extra_cfg.py:813
Method
do_classifier_free_guidance
(self)
ip_adapter/pipeline_stable_diffusion_sd3_extra_cfg.py:667
Method
do_classifier_free_guidance
(self)
ip_adapter/pipeline_stable_diffusion_extra_cfg.py:760
Function
download
(url, ckpt_dir=None)
src/evaluate/utils.py:10
Function
download
(url, ckpt_dir=None)
evaluation/utils.py:10
Method
forward
(self, x)
ip_adapter/resampler_Instruct.py:75
Method
forward
Args: x (torch.Tensor): image features shape (b, n1, D) latent (torch.Tensor): latent features
ip_adapter/resampler_Instruct.py:120
Method
forward
Args: x (torch.Tensor): image features shape (b, n1, D) latent (torch.Tensor): latent features
ip_adapter/resampler_Instruct.py:167
Method
forward
(self, x, new_input)
ip_adapter/resampler_Instruct.py:250
Method
forward
(self, x, new_input, prompt_input)
ip_adapter/resampler_Instruct.py:338
Method
forward
( self, hidden_states: torch.FloatTensor, encoder_hidden_states: torch.FloatTensor, temb: torch.FloatT
ip_adapter/joint_attention_block_modified.py:12
Method
forward
Args: x (torch.Tensor): image features shape (b, n1, D) latent (torch.Tensor): latent features
ip_adapter/resampler_SD3.py:51
Method
forward
(self, x)
ip_adapter/resampler_SD3.py:137
Method
forward
(self, x, new_input,prompt_input)
ip_adapter/resampler_SD3.py:259
Method
forward
Args: x (torch.Tensor): image features shape (b, n1, D) latent (torch.Tensor): latent features
ip_adapter/resampler.py:51
Method
forward
(self, x)
ip_adapter/resampler.py:129
Method
forward
(self, image_embeds)
ip_adapter/ip_adapter.py:45
Method
forward
(self, image_embeds)
ip_adapter/ip_adapter.py:66
Method
forward
(self, content, style, encoded_only = False)
src/evaluate/net.py:108
Method
forward
(self, adain_feat)
src/evaluate/net.py:153
Method
forward
(self, x, y)
src/evaluate/image_metrics.py:52
Method
forward
(self, x, y)
src/evaluate/image_metrics.py:72
Method
forward
(self, x, y)
src/evaluate/image_metrics.py:83
Method
forward
(self, input, target)
src/evaluate/image_metrics.py:127
Method
forward
(self, input, target)
src/evaluate/image_metrics.py:177
Method
forward
(self, x: Tensor, return_features: bool=False)
src/evaluate/inception.py:158
Method
forward
(self, x: Tensor)
src/evaluate/inception.py:206
Method
forward
(self, x: Tensor)
src/evaluate/inception.py:234
Method
forward
(self, x: Tensor)
src/evaluate/inception.py:280
Method
forward
(self, x: Tensor)
src/evaluate/inception.py:311
Method
forward
(self, x: Tensor)
src/evaluate/inception.py:358
Method
forward
(self, x: Tensor)
src/evaluate/inception.py:376
Method
forward
(self, x: Tensor)
src/evaluate/inception.py:400
Method
forward
(self, x: torch.Tensor)
src/metrics/lpips.py:43
Method
forward
(self, x: torch.Tensor, y: torch.Tensor)
src/metrics/lpips.py:143
Method
forward
(self, content, style, encoded_only = False)
evaluation/net.py:108
Method
forward
(self, adain_feat)
evaluation/net.py:153
Method
forward
(self, x, y)
evaluation/image_metrics.py:52
Method
forward
(self, x, y)
evaluation/image_metrics.py:72
Method
forward
(self, x, y)
evaluation/image_metrics.py:83
Method
forward
(self, input, target)
evaluation/image_metrics.py:127
Method
forward
(self, input, target)
evaluation/image_metrics.py:177
Method
forward
(self, x: Tensor, return_features: bool=False)
evaluation/inception.py:158
Method
forward
(self, x: Tensor)
evaluation/inception.py:206
Method
forward
(self, x: Tensor)
evaluation/inception.py:234
Method
forward
(self, x: Tensor)
evaluation/inception.py:280
Method
forward
(self, x: Tensor)
evaluation/inception.py:311
Method
forward
(self, x: Tensor)
evaluation/inception.py:358
Method
forward
(self, x: Tensor)
evaluation/inception.py:376
Method
forward
(self, x: Tensor)
evaluation/inception.py:400
Function
forward_hook
(module, input, output)
ip_adapter/utils.py:11
Function
freq_1d
Noise reinitialization. Args: x: diffused latent noise: randomly sampled noise LPF: low pass filter
src/frequency_utils.py:63
Function
freq_3d
Noise reinitialization. Args: x: diffused latent noise: randomly sampled noise LPF: low pass filter
src/frequency_utils.py:94
Function
freq_exp_mask
Frequency manipulation for latent space.
src/frequency_utils.py:326
Function
freq_mix_3d
Noise reinitialization. Args: x: diffused latent noise: randomly sampled noise LPF: low pass filter
src/frequency_utils.py:133
Function
from_latents2img
(pipe_inf, latents)
src/renoise_inversion.py:346
Method
generate
( self, pil_image=None, clip_image_embeds=None, prompt=None, negative_
ip_adapter/ip_adapter_instruct.py:161
Method
generate
( self, pil_image=None, clip_image_embeds=None, prompt=None, negative_
ip_adapter/ip_adapter_instruct.py:335
Method
generate
( self, pil_image=None, clip_image_embeds=None, prompt=None,
ip_adapter/ip_adapter_instruct.py:618
Method
generate
( self, pil_image=None, clip_image_embeds=None, prompt=None,
ip_adapter/ip_adapter_instruct.py:819
Method
generate
( self, pil_image, prompt=None, negative_prompt=None, scale=1.0,
ip_adapter/ip_adapter.py:230
Method
generate
( self, pil_image, prompt=None, negative_prompt=None, scale=1.0,
ip_adapter/ip_adapter.py:364
Function
get_captions_for_images
(images, device)
src/utils/images_utils.py:57
Method
get_decouple_embeds
( self, pil_image=None, clip_image=None, clip_image_embeds=None, promp
ip_adapter/ip_adapter_instruct.py:298
Function
get_empty_metrics
()
src/metrics/metric_util.py:60
Method
get_image_embeds
(self, pil_image=None, clip_image_embeds=None)
ip_adapter/ip_adapter.py:309
Function
get_lowAndHigh_image
(image, low_thred=5)
src/frequency_utils.py:482
Function
get_net_attn_map
(image_size, batch_size=2, instance_or_negative=False, detach=True)
ip_adapter/utils.py:49
Method
get_noise_to_remove
(self)
src/schedulers/euler_scheduler.py:30
← previous
next →
301–400 of 440, ranked by callers