MCPcopy Create free account

hub / github.com/cosmicman-cvpr2024/CosmicMan / functions

Functions6,241 in github.com/cosmicman-cvpr2024/CosmicMan

Functionload_model_hook
(models, input_dir)
diffusers/examples/controlnet/train_controlnet.py:799
Functionload_model_hook
(models, input_dir)
diffusers/examples/controlnet/train_controlnet_sdxl.py:868
Functionload_model_hook
(models, input_dir)
diffusers/examples/instruct_pix2pix/train_instruct_pix2pix.py:497
Functionload_model_hook
(models, input_dir)
diffusers/examples/research_projects/onnxruntime/text_to_image/train_text_to_image.py:564
Functionload_model_hook
(models, input_dir)
diffusers/examples/research_projects/onnxruntime/unconditional_image_generation/train_unconditional.py:325
Functionload_model_hook
(models, input_dir)
diffusers/examples/unconditional_image_generation/train_unconditional.py:321
Functionload_multitoken_tokenizer_from_automatic
Automatic1111's tokens have format {'string_to_token': {'*': 265}, 'string_to_param': {'*': tensor([[ 0.0833, 0.0030, 0.0057, ..., -0.0264
diffusers/examples/research_projects/mulit_token_textual_inversion/textual_inversion.py:122
Methodlong_text_call
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
diffusers/src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl.py:1031
Methodloop_body
(step, args)
diffusers/src/diffusers/pipelines/controlnet/pipeline_flax_controlnet.py:296
Methodloop_body
(step, args)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_inpaint.py:333
Methodloop_body
(step, args)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_img2img.py:286
Methodloop_body
(step, args)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion.py:263
Methodlora_scale
(self)
diffusers/src/diffusers/loaders.py:1095
Functionlr_lambda
(current_step: int)
diffusers/src/diffusers/optimization.py:73
Methodmake_inpaint_condition
(image, image_mask)
diffusers/tests/pipelines/controlnet/test_controlnet_inpaint.py:514
Methodmap_from
(module, state_dict, *args, **kwargs)
diffusers/src/diffusers/loaders.py:161
Methodmap_to
(module, state_dict, *args, **kwargs)
diffusers/src/diffusers/loaders.py:143
Methodmax_shift_steps
(self)
diffusers/src/diffusers/pipelines/spectrogram_diffusion/midi_utils.py:182
Functionmaybe_allow_in_graph
(cls)
diffusers/src/diffusers/utils/torch_utils.py:32
Methodmerge
Returns a new pipeline object of the class 'DiffusionPipeline' with the merged checkpoints(weights) of the models passed in the argum
diffusers/examples/community/checkpoint_merger.py:66
Methodmodel
(sample, t, *args)
diffusers/tests/schedulers/test_scheduler_score_sde_ve.py:42
Methodmodel
(sample, t, *args)
diffusers/tests/schedulers/test_scheduler_vq_diffusion.py:35
Methodmodel
(sample, t, *args)
diffusers/tests/schedulers/test_scheduler_flax.py:67
Methodmodel_fn
(x, t)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_k_diffusion.py:559
Methodmodel_fn
(x, t)
diffusers/examples/community/sd_text2img_k_diffusion.py:451
Methodmodule_is_offloaded
(module)
diffusers/src/diffusers/pipelines/pipeline_utils.py:643
Methodmodule_is_sequentially_offloaded
(module)
diffusers/src/diffusers/pipelines/pipeline_utils.py:635
Methodname_or_path
(self)
diffusers/src/diffusers/pipelines/pipeline_utils.py:1087
Methodnew_step
(self, *args, **kwargs)
diffusers/tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_inpaint.py:268
Methodnew_step
(self, *args, **kwargs)
diffusers/tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl.py:256
Functionnext_divisible
(n, d)
diffusers/examples/community/tiled_upscaling.py:93
Functionnightly
Decorator marking a test that runs nightly in the diffusers CI. Slow tests are skipped by default. Set the RUN_NIGHTLY environment variable
diffusers/src/diffusers/utils/testing_utils.py:154
Methodnll
(self, sample, dims=[1, 2, 3])
diffusers/src/diffusers/models/vae.py:434
Methodnll
(self, sample, axis=[1, 2, 3])
diffusers/src/diffusers/models/vae_flax.py:709
Methodno_weight_decay
(self)
diffusers/src/diffusers/pipelines/unidiffuser/modeling_uvit.py:1034
Functionnoop
(x)
diffusers/utils/custom_init_isort.py:101
Methodnorm_encoder_hidden_states
(self, encoder_hidden_states)
diffusers/src/diffusers/models/attention_processor.py:833
Methodnormalize_embeddings
(encoder_output)
diffusers/src/diffusers/pipelines/versatile_diffusion/pipeline_versatile_diffusion_dual_guided.py:166
Methodnormalize_embeddings
(encoder_output)
diffusers/src/diffusers/pipelines/versatile_diffusion/pipeline_versatile_diffusion_text_to_image.py:120
Methodnormalize_embeddings
(encoder_output)
diffusers/src/diffusers/pipelines/versatile_diffusion/pipeline_versatile_diffusion_image_variation.py:96
Functionnote_encoding_state_to_events
Output program and pitch events for active notes plus a final tie event.
diffusers/src/diffusers/pipelines/spectrogram_diffusion/midi_utils.py:382
Functionnote_event_data_to_events
Convert note event data to a sequence of events.
diffusers/src/diffusers/pipelines/spectrogram_diffusion/midi_utils.py:350
Methodnum_classes
(self)
diffusers/src/diffusers/pipelines/spectrogram_diffusion/midi_utils.py:172
Methodnum_embed
(self)
diffusers/tests/pipelines/vq_diffusion/test_vq_diffusion.py:40
Methodnum_embeds_ada_norm
(self)
diffusers/tests/pipelines/vq_diffusion/test_vq_diffusion.py:44
Methodnum_parameters
Get number of (trainable or non-embedding) parameters in the module. Args: only_trainable (`bool`, *optional*, defaults
diffusers/src/diffusers/models/modeling_utils.py:884
Methodnumpy_to_pil
Convert a numpy image or a batch of images to a PIL image.
diffusers/src/diffusers/pipelines/pipeline_flax_utils.py:541
Methodnumpy_to_pt
(images)
diffusers/src/diffusers/pipelines/deepfloyd_if/pipeline_if_img2img_superresolution.py:681
Methodnumpy_to_pt
(images)
diffusers/src/diffusers/pipelines/deepfloyd_if/pipeline_if_img2img.py:633
Methodnumpy_to_pt
(images)
diffusers/src/diffusers/pipelines/deepfloyd_if/pipeline_if_inpainting_superresolution.py:717
Methodnumpy_to_pt
(images)
diffusers/src/diffusers/pipelines/deepfloyd_if/pipeline_if_inpainting.py:673
Methodoptimize
(self, onnx_graph)
diffusers/examples/community/stable_diffusion_tensorrt_inpaint.py:264
Methodoptimize
(self, onnx_graph)
diffusers/examples/community/stable_diffusion_tensorrt_txt2img.py:249
Methodoptimize
(self, onnx_graph)
diffusers/examples/community/stable_diffusion_tensorrt_img2img.py:263
Methodoutput_shape
(self)
diffusers/tests/models/test_models_unet_2d.py:54
Methodoutput_shape
(self)
diffusers/tests/models/test_models_unet_2d.py:92
Methodoutput_shape
(self)
diffusers/tests/models/test_models_unet_2d.py:206
Methodoutput_shape
(self)
diffusers/tests/models/test_models_unet_1d.py:46
Methodoutput_shape
(self)
diffusers/tests/models/test_models_unet_1d.py:177
Methodoutput_shape
(self)
diffusers/tests/models/test_models_prior.py:78
Methodoutput_shape
(self)
diffusers/tests/models/test_models_unet_2d_condition.py:145
Methodoutput_shape
(self)
diffusers/tests/models/test_unet_blocks_common.py:31
Methodoutput_shape
(self)
diffusers/tests/models/test_models_vae.py:53
Methodoutput_shape
(self)
diffusers/tests/models/test_models_unet_3d_condition.py:98
Methodoutput_shape
(self)
diffusers/tests/models/test_models_vq.py:48
Methodparams
(self)
diffusers/tests/pipelines/test_pipelines_common.py:258
Functionparse_bool
(string)
diffusers/scripts/convert_original_controlnet_to_diffusers.py:80
Methodperform_safety_guidance
( self, enable_safety_guidance, safety_momentum, noise_guidance, noise
diffusers/src/diffusers/pipelines/stable_diffusion_safe/pipeline_stable_diffusion_safe.py:426
Methodpostprocess
( self, image: torch.FloatTensor, output_type: str = "pil", do_denormalize: Op
diffusers/src/diffusers/image_processor.py:329
Methodprepare_attention_mask
(self, attention_mask, target_length, batch_size=None, out_dim=3)
diffusers/src/diffusers/models/attention_processor.py:792
Methodprepare_for_ipex
(self, promt, dtype=torch.float32, height=None, width=None, guidance_scale=7.5)
diffusers/examples/community/stable_diffusion_ipex.py:242
Functionprepare_image
(image)
diffusers/src/diffusers/pipelines/controlnet/pipeline_controlnet_img2img.py:95
Methodprepare_init_args_and_inputs_for_common
(self)
diffusers/tests/models/test_models_unet_2d.py:57
Methodprepare_init_args_and_inputs_for_common
(self)
diffusers/tests/models/test_models_unet_2d.py:95
Methodprepare_init_args_and_inputs_for_common
(self)
diffusers/tests/models/test_models_unet_2d.py:209
Methodprepare_init_args_and_inputs_for_common
(self)
diffusers/tests/models/test_models_unet_1d.py:79
Methodprepare_init_args_and_inputs_for_common
(self)
diffusers/tests/models/test_models_vae_flax.py:29
Methodprepare_init_args_and_inputs_for_common
(self)
diffusers/tests/models/test_unet_2d_blocks.py:54
Methodprepare_init_args_and_inputs_for_common
(self)
diffusers/tests/models/test_unet_2d_blocks.py:72
Methodprepare_init_args_and_inputs_for_common
(self)
diffusers/tests/models/test_unet_2d_blocks.py:117
Methodprepare_init_args_and_inputs_for_common
(self)
diffusers/tests/models/test_unet_2d_blocks.py:138
Methodprepare_init_args_and_inputs_for_common
(self)
diffusers/tests/models/test_unet_2d_blocks.py:172
Methodprepare_init_args_and_inputs_for_common
(self)
diffusers/tests/models/test_unet_2d_blocks.py:190
Methodprepare_init_args_and_inputs_for_common
(self)
diffusers/tests/models/test_unet_2d_blocks.py:234
Methodprepare_init_args_and_inputs_for_common
(self)
diffusers/tests/models/test_unet_2d_blocks.py:252
Methodprepare_init_args_and_inputs_for_common
(self)
diffusers/tests/models/test_unet_2d_blocks.py:310
Methodprepare_init_args_and_inputs_for_common
(self)
diffusers/tests/models/test_unet_2d_blocks.py:329
Methodprepare_inputs
( self, prompt: Union[str, List[str]], image: Union[Image.Image, List[Image.Image]],
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_inpaint.py:189
Methodprepare_inputs
(self, prompt: Union[str, List[str]], image: Union[Image.Image, List[Image.Image]])
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_flax_stable_diffusion_img2img.py:171
Methodprepare_latents
(self, batch_size, num_channels_latents, height, width, dtype, device, generator, latents=None)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_diffedit.py:744
Functionpreprocess
(image)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_pix2pix_zero.py:179
Functionpreprocess
(image)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_latent_upscale.py:35
Functionpreprocess
(image)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_cycle_diffusion.py:42
Functionpreprocess
(image)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_upscale.py:42
Functionpreprocess
(image)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_depth2img.py:39
Functionpreprocess
(image)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_img2img.py:75
Functionpreprocess
(image)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_instruct_pix2pix.py:45
Functionpreprocess
(image)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_diffedit.py:161
Functionpreprocess
(image)
diffusers/src/diffusers/pipelines/alt_diffusion/pipeline_alt_diffusion_img2img.py:71
Functionpreprocess_image
image: torch.Tensor
diffusers/examples/community/stable_diffusion_tensorrt_inpaint.py:94
← previousnext →4,401–4,500 of 6,241, ranked by callers