MCPcopy Create free account

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

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

↓ 1 callersFunctionget_train_dataset
(args, accelerator)
diffusers/examples/controlnet/train_controlnet_sdxl.py:604
↓ 1 callersFunctionget_transformers_submodules
Returns the list of Transformers submodules.
diffusers/utils/check_inits.py:241
↓ 1 callersFunctionget_up_block
( up_block_type, num_layers, in_channels, out_channels, prev_output_channel, temb_chan
diffusers/src/diffusers/pipelines/versatile_diffusion/modeling_text_unet.py:97
↓ 1 callersFunctionget_up_block_types
(original_decoder_config)
diffusers/scripts/convert_vq_diffusion_to_diffusers.py:131
↓ 1 callersMethodget_views
(self, panorama_height, panorama_width, window_size=64, stride=8, circular_padding=False)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_panorama.py:428
↓ 1 callersFunctionget_weighted_text_embeddings
r""" Prompts can be assigned with local weights using brackets. For example, prompt 'A (very beautiful) masterpiece' highlights the words 'ver
diffusers/examples/community/lpw_stable_diffusion_onnx.py:265
↓ 1 callersFunctionget_weighted_text_embeddings
r""" Prompts can be assigned with local weights using brackets. For example, prompt 'A (very beautiful) masterpiece' highlights the words 'ver
diffusers/examples/community/lpw_stable_diffusion.py:238
↓ 1 callersMethodget_zero_embed
(self, batch_size=1, device=None)
diffusers/src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_prior_emb2emb.py:288
↓ 1 callersMethodget_zero_embed
(self, batch_size=1, device=None)
diffusers/src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_prior.py:249
↓ 1 callersMethodget_zero_embed
(self, batch_size=1, device=None)
diffusers/src/diffusers/pipelines/kandinsky/pipeline_kandinsky_prior.py:290
↓ 1 callersFunctiongrab_wildcard_values
(wildcard_option_dict: Dict[str, List[str]] = {}, wildcard_files: List[str] = [])
diffusers/examples/community/wildcard_stable_diffusion.py:35
↓ 1 callersFunctiongumbel_noised
Apply gumbel noise to `logits`
diffusers/src/diffusers/schedulers/scheduling_vq_diffusion.py:62
↓ 1 callersFunctionignore_unautoclassed
Rules to determine if `name` should be in an auto class.
diffusers/utils/check_repo.py:435
↓ 1 callersFunctionignore_underscore
Wraps a `key` (that maps an object to string) to lower case and remove underscores.
diffusers/utils/custom_init_isort.py:88
↓ 1 callersFunctionignore_undocumented
Rules to determine if `name` should be undocumented.
diffusers/utils/check_repo.py:621
↓ 1 callersFunctionimage_grid
(imgs, rows, cols)
diffusers/examples/controlnet/train_controlnet_flax.py:67
↓ 1 callersFunctionimage_grid
(imgs, rows, cols)
diffusers/examples/controlnet/train_controlnet.py:64
↓ 1 callersFunctionimage_grid
(imgs, rows, cols)
diffusers/examples/controlnet/train_controlnet_sdxl.py:66
↓ 1 callersFunctionimage_grid
(imgs, rows, cols)
diffusers/examples/research_projects/intel_opts/textual_inversion_dfq/text2images.py:55
↓ 1 callersFunctionimage_grid
(imgs, rows, cols)
diffusers/examples/research_projects/intel_opts/textual_inversion_dfq/textual_inversion.py:430
↓ 1 callersMethodimage_to_audio
Converts spectrogram to audio. Args: image (`PIL Image`): x_res x y_res grayscale image Returns: audio (`np.
diffusers/src/diffusers/pipelines/audio_diffusion/mel.py:145
↓ 1 callersMethodimage_variation
r""" Function invoked when calling the pipeline for generation. Args: image (`PIL.Image.Image`, `List[PIL.Image.Image]` o
diffusers/src/diffusers/pipelines/versatile_diffusion/pipeline_versatile_diffusion.py:83
↓ 1 callersFunctionimport_model_class_from_model_name_or_path
(pretrained_model_name_or_path: str, revision: str)
diffusers/examples/custom_diffusion/train_custom_diffusion.py:102
↓ 1 callersFunctionimport_model_class_from_model_name_or_path
(pretrained_model_name_or_path: str, revision: str)
diffusers/examples/dreambooth/train_dreambooth.py:191
↓ 1 callersFunctionimport_model_class_from_model_name_or_path
(pretrained_model_name_or_path: str, revision: str)
diffusers/examples/dreambooth/train_dreambooth_lora.py:117
↓ 1 callersFunctionimport_model_class_from_model_name_or_path
(pretrained_model_name_or_path: str, revision: str)
diffusers/examples/controlnet/train_controlnet.py:174
↓ 1 callersFunctionimport_model_class_from_model_name_or_path
(pretrained_model_name_or_path: str, revision: str)
diffusers/examples/research_projects/multi_subject_dreambooth/train_multi_subject_dreambooth.py:159
↓ 1 callersFunctionimport_model_class_from_model_name_or_path
(pretrained_model_name_or_path: str)
diffusers/examples/research_projects/colossalai/train_dreambooth_colossalai.py:33
↓ 1 callersFunctionindex_to_log_onehot
Convert batch of vector of class indices into batch of log onehot vectors Args: x (`torch.LongTensor` of shape `(batch size, vector
diffusers/src/diffusers/schedulers/scheduling_vq_diffusion.py:41
↓ 1 callersMethodinfer
(self, feed_dict, stream)
diffusers/examples/community/stable_diffusion_tensorrt_inpaint.py:178
↓ 1 callersMethodinfer
(self, feed_dict, stream)
diffusers/examples/community/stable_diffusion_tensorrt_txt2img.py:163
↓ 1 callersMethodinfer
(self, feed_dict, stream)
diffusers/examples/community/stable_diffusion_tensorrt_img2img.py:177
↓ 1 callersFunctioninit
(self, *args, **kwargs)
diffusers/src/diffusers/configuration_utils.py:644
↓ 1 callersMethodinit_buckets
(self)
dataset.py:288
↓ 1 callersFunctioninit_hf_modules
Creates the cache directory for modules with an init, and adds it to the Python path.
diffusers/src/diffusers/utils/dynamic_modules_utils.py:49
↓ 1 callersMethodinit_weights
(self, rng: jax.random.KeyArray)
diffusers/src/diffusers/models/vae_flax.py:820
↓ 1 callersMethodinit_weights
(self, rng: jax.random.KeyArray)
diffusers/src/diffusers/models/controlnet_flax.py:171
↓ 1 callersFunctioninpaint_text2img
(*, args, checkpoint_map_location)
diffusers/scripts/convert_kandinsky_to_diffusers.py:908
↓ 1 callersFunctioninpaint_unet_model_from_original_config
()
diffusers/scripts/convert_kandinsky_to_diffusers.py:412
↓ 1 callersFunctioninpaint_unet_original_checkpoint_to_diffusers_checkpoint
(model, checkpoint)
diffusers/scripts/convert_kandinsky_to_diffusers.py:418
↓ 1 callersFunctionintegrate_samples
r""" Function integrating the model output. Args: volume_range: Specifies the integral range [t0, t1] ts: timesteps d
diffusers/src/diffusers/pipelines/shap_e/renderer.py:85
↓ 1 callersMethodinterpolate
Function invoked when using the prior pipeline for interpolation. Args: images_and_prompts (`List[Union[str, PIL.Image.I
diffusers/src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_prior.py:131
↓ 1 callersMethodintersect
Args: origin: [batch_size, *shape, 3] direction: [batch_size, *shape, 3] t0_lower: Optional [batch_size,
diffusers/src/diffusers/pipelines/shap_e/renderer.py:205
↓ 1 callersFunctionis_a_private_model
Returns True if the model should not be in the main init.
diffusers/utils/check_repo.py:283
↓ 1 callersFunctionis_compel_available
()
diffusers/src/diffusers/utils/import_utils.py:377
↓ 1 callersFunctionis_copy_consistent
Check if the code commented as a copy in `filename` matches the original. Return the differences or overwrites the content depending on `over
diffusers/utils/check_copies.py:116
↓ 1 callersFunctionis_k_diffusion_version
Args: Compares the current k-diffusion version to a given reference with an operation. operation (`str`): A string repres
diffusers/src/diffusers/utils/import_utils.py:640
↓ 1 callersFunctionis_opencv_available
()
diffusers/src/diffusers/utils/import_utils.py:337
↓ 1 callersFunctionis_rst_docstring
Returns `True` if `docstring` is written in rst.
diffusers/utils/check_repo.py:709
↓ 1 callersMethodis_shift_event_index
(self, index: int)
diffusers/src/diffusers/pipelines/spectrogram_diffusion/midi_utils.py:178
↓ 1 callersFunctionjax_memory_efficient_attention
r""" Flax Memory-efficient multi-head dot product attention. https://arxiv.org/abs/2112.05682v2 https://github.com/AminRezaei0x443/memory-effi
diffusers/src/diffusers/models/attention_flax.py:74
↓ 1 callersFunctionkl_divergence
(hidden_states)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_diffedit.py:156
↓ 1 callersMethodkl_divergence
(self, hidden_states)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_pix2pix_zero.py:770
↓ 1 callersFunctionl2
(xs)
diffusers/examples/controlnet/train_controlnet_flax.py:975
↓ 1 callersFunctionload_and_set_lora_ckpt
(pipe, ckpt_dir, global_step, device, dtype)
diffusers/examples/research_projects/lora/train_text_to_image_lora.py:951
↓ 1 callersMethodload_audio
Load audio. Args: audio_file (`str`): must be a file on disk due to Librosa limitation or raw_audio (`np.ndarray`): a
diffusers/src/diffusers/pipelines/audio_diffusion/mel.py:85
↓ 1 callersFunctionload_checkpoint_to_model
(checkpoint, model, strict=False)
diffusers/scripts/convert_shap_e_to_diffusers.py:518
↓ 1 callersFunctionload_continuous_encoder
(weights, model)
diffusers/scripts/convert_music_spectrogram_to_diffusers.py:46
↓ 1 callersMethodload_data
(self, parquet_file_path)
dataset.py:103
↓ 1 callersFunctionload_decoder
(weights, model)
diffusers/scripts/convert_music_spectrogram_to_diffusers.py:75
↓ 1 callersFunctionload_flax_checkpoint_in_pytorch_model
(pt_model, model_file)
diffusers/src/diffusers/models/modeling_pytorch_flax_utils.py:37
↓ 1 callersFunctionload_flax_weights_in_pytorch_model
Load flax checkpoints in a PyTorch model
diffusers/src/diffusers/models/modeling_pytorch_flax_utils.py:58
↓ 1 callersFunctionload_multitoken_tokenizer
(tokenizer, text_encoder, learned_embeds_dict)
diffusers/examples/research_projects/mulit_token_textual_inversion/textual_inversion.py:110
↓ 1 callersFunctionload_notes_encoder
(weights, model)
diffusers/scripts/convert_music_spectrogram_to_diffusers.py:19
↓ 1 callersFunctionload_pipeline_from_original_audioldm_ckpt
Load an AudioLDM pipeline object from a `.ckpt`/`.safetensors` file and (ideally) a `.yaml` config file. Although many of the arguments can
diffusers/scripts/convert_original_audioldm_to_diffusers.py:769
↓ 1 callersFunctionload_sub_model
Helper method to load the module `name` from `library_name` and `class_name`
diffusers/src/diffusers/pipelines/pipeline_utils.py:346
↓ 1 callersFunctionlog_validation
( text_encoder, tokenizer, unet, vae, args, accelerator, weight_dtype, epoch, prompt_embeds, negative_prom
diffusers/examples/dreambooth/train_dreambooth.py:108
↓ 1 callersFunctionlog_validation
(vae, text_encoder, tokenizer, unet, args, accelerator, weight_dtype, epoch)
diffusers/examples/text_to_image/train_text_to_image.py:152
↓ 1 callersFunctionlog_validation
(vae, text_encoder, tokenizer, unet, controlnet, args, accelerator, weight_dtype, step)
diffusers/examples/controlnet/train_controlnet.py:75
↓ 1 callersFunctionlog_validation
(vae, unet, controlnet, args, accelerator, weight_dtype, step)
diffusers/examples/controlnet/train_controlnet_sdxl.py:77
↓ 1 callersFunctionlog_validation
(vae, text_encoder, tokenizer, unet, args, accelerator, weight_dtype, epoch)
diffusers/examples/research_projects/onnxruntime/text_to_image/train_text_to_image.py:66
↓ 1 callersFunctionlog_validation
(text_encoder, tokenizer, unet, vae, args, accelerator, weight_dtype, epoch)
diffusers/examples/research_projects/onnxruntime/textual_inversion/textual_inversion.py:115
↓ 1 callersFunctionlog_validation
(text_encoder, tokenizer, unet, vae, args, accelerator, weight_dtype, epoch)
diffusers/examples/textual_inversion/textual_inversion.py:114
↓ 1 callersFunctionlog_validation_images_to_tracker
( images: List[np.array], label: str, validation_prompt: str, accelerator: Accelerator, epoch: int )
diffusers/examples/research_projects/multi_subject_dreambooth/train_multi_subject_dreambooth.py:54
↓ 1 callersMethodlong_text_encode_prompt
r""" Encodes the prompt into text encoder hidden states. Args: prompt (`str` or `List[str]`, *optional*):
diffusers/src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl.py:861
↓ 1 callersFunctionmain
()
train_sdxl.py:281
↓ 1 callersFunctionmain
(correct, fail=None)
diffusers/utils/overwrite_expected_slice.py:67
↓ 1 callersFunctionmain
()
diffusers/utils/stale.py:35
↓ 1 callersFunctionmain
()
diffusers/src/diffusers/commands/diffusers_cli.py:22
↓ 1 callersFunctionmain
(args)
diffusers/scripts/convert_music_spectrogram_to_diffusers.py:127
↓ 1 callersFunctionmain
(args)
diffusers/scripts/convert_dit_to_diffusers.py:26
↓ 1 callersFunctionmain
(args)
diffusers/scripts/convert_if.py:62
↓ 1 callersFunctionmain
(args)
diffusers/scripts/convert_k_upscaler_to_diffusers.py:269
↓ 1 callersFunctionmain
(args)
diffusers/scripts/convert_dance_diffusion_to_diffusers.py:252
↓ 1 callersFunctionmain
(args)
diffusers/examples/custom_diffusion/train_custom_diffusion.py:634
↓ 1 callersFunctionmain
(args)
diffusers/examples/dreambooth/train_dreambooth.py:772
↓ 1 callersFunctionmain
()
diffusers/examples/dreambooth/train_dreambooth_flax.py:335
↓ 1 callersFunctionmain
(args)
diffusers/examples/dreambooth/train_dreambooth_lora_sdxl.py:627
↓ 1 callersFunctionmain
(args)
diffusers/examples/dreambooth/train_dreambooth_lora.py:676
↓ 1 callersFunctionmain
()
diffusers/examples/text_to_image/train_text_to_image_lora.py:370
↓ 1 callersFunctionmain
()
diffusers/examples/text_to_image/train_text_to_image_flax.py:233
↓ 1 callersFunctionmain
()
diffusers/examples/text_to_image/train_text_to_image.py:502
↓ 1 callersFunctionmain
()
diffusers/examples/controlnet/train_controlnet_flax.py:667
↓ 1 callersFunctionmain
(args)
diffusers/examples/controlnet/train_controlnet.py:713
↓ 1 callersFunctionmain
(args)
diffusers/examples/controlnet/train_controlnet_sdxl.py:765
↓ 1 callersFunctionmain
()
diffusers/examples/instruct_pix2pix/train_instruct_pix2pix.py:374
↓ 1 callersFunctionmain
()
diffusers/examples/research_projects/dreambooth_inpaint/train_dreambooth_inpaint_lora.py:403
↓ 1 callersFunctionmain
()
diffusers/examples/research_projects/dreambooth_inpaint/train_dreambooth_inpaint.py:404
↓ 1 callersFunctionmain
(args)
diffusers/examples/research_projects/multi_subject_dreambooth/train_multi_subject_dreambooth.py:683
↓ 1 callersFunctionmain
()
diffusers/examples/research_projects/mulit_token_textual_inversion/textual_inversion.py:549
← previousnext →1,601–1,700 of 6,241, ranked by callers