MCPcopy Create free account

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

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

↓ 1 callersFunctionmain
()
diffusers/examples/research_projects/mulit_token_textual_inversion/textual_inversion_flax.py:352
↓ 1 callersFunctionmain
()
diffusers/examples/research_projects/lora/train_text_to_image_lora.py:393
↓ 1 callersFunctionmain
(args)
diffusers/examples/research_projects/colossalai/train_dreambooth_colossalai.py:356
↓ 1 callersFunctionmain
()
diffusers/examples/research_projects/onnxruntime/text_to_image/train_text_to_image.py:412
↓ 1 callersFunctionmain
(args)
diffusers/examples/research_projects/onnxruntime/unconditional_image_generation/train_unconditional.py:290
↓ 1 callersFunctionmain
()
diffusers/examples/research_projects/onnxruntime/textual_inversion/textual_inversion.py:562
↓ 1 callersFunctionmain
()
diffusers/examples/research_projects/intel_opts/textual_inversion_dfq/textual_inversion.py:457
↓ 1 callersFunctionmain
()
diffusers/examples/research_projects/intel_opts/textual_inversion/textual_inversion_bf16.py:363
↓ 1 callersFunctionmain
(args)
diffusers/examples/unconditional_image_generation/train_unconditional.py:286
↓ 1 callersFunctionmain
()
diffusers/examples/textual_inversion/textual_inversion.py:563
↓ 1 callersFunctionmain
()
diffusers/examples/textual_inversion/textual_inversion_flax.py:365
↓ 1 callersFunctionmain
()
diffusers/examples/community/tiled_upscaling.py:282
↓ 1 callersFunctionmake_CLIP
(model, device, max_batch_size, embedding_dim, inpaint=False)
diffusers/examples/community/stable_diffusion_tensorrt_inpaint.py:461
↓ 1 callersFunctionmake_CLIP
(model, device, max_batch_size, embedding_dim, inpaint=False)
diffusers/examples/community/stable_diffusion_tensorrt_txt2img.py:446
↓ 1 callersFunctionmake_CLIP
(model, device, max_batch_size, embedding_dim, inpaint=False)
diffusers/examples/community/stable_diffusion_tensorrt_img2img.py:460
↓ 1 callersFunctionmake_UNet
(model, device, max_batch_size, embedding_dim, inpaint=False, unet_dim=4)
diffusers/examples/community/stable_diffusion_tensorrt_inpaint.py:540
↓ 1 callersFunctionmake_UNet
(model, device, max_batch_size, embedding_dim, inpaint=False)
diffusers/examples/community/stable_diffusion_tensorrt_txt2img.py:525
↓ 1 callersFunctionmake_UNet
(model, device, max_batch_size, embedding_dim, inpaint=False)
diffusers/examples/community/stable_diffusion_tensorrt_img2img.py:539
↓ 1 callersFunctionmake_VAE
(model, device, max_batch_size, embedding_dim, inpaint=False)
diffusers/examples/community/stable_diffusion_tensorrt_inpaint.py:601
↓ 1 callersFunctionmake_VAE
(model, device, max_batch_size, embedding_dim, inpaint=False)
diffusers/examples/community/stable_diffusion_tensorrt_txt2img.py:586
↓ 1 callersFunctionmake_VAE
(model, device, max_batch_size, embedding_dim, inpaint=False)
diffusers/examples/community/stable_diffusion_tensorrt_img2img.py:600
↓ 1 callersFunctionmake_VAEEncoder
(model, device, max_batch_size, embedding_dim, inpaint=False)
diffusers/examples/community/stable_diffusion_tensorrt_inpaint.py:672
↓ 1 callersFunctionmake_VAEEncoder
(model, device, max_batch_size, embedding_dim, inpaint=False)
diffusers/examples/community/stable_diffusion_tensorrt_img2img.py:671
↓ 1 callersFunctionmake_image_grid
(imgs, rows, cols)
diffusers/examples/text_to_image/train_text_to_image.py:66
↓ 1 callersFunctionmake_train_dataset
(args, tokenizer, batch_size=None)
diffusers/examples/controlnet/train_controlnet_flax.py:510
↓ 1 callersFunctionmake_train_dataset
(args, tokenizer, accelerator)
diffusers/examples/controlnet/train_controlnet.py:582
↓ 1 callersFunctionmake_transparency_mask
(size, overlap_pixels, remove_borders=[])
diffusers/examples/community/tiled_upscaling.py:29
↓ 1 callersMethodmap_indices_to_keys
(self, output)
diffusers/src/diffusers/pipelines/shap_e/renderer.py:418
↓ 1 callersFunctionmap_midi_programs
Apply MIDI program map to token sequences.
diffusers/src/diffusers/pipelines/spectrogram_diffusion/midi_utils.py:524
↓ 1 callersFunctionmaybe_raise_or_warn
Simple helper method to raise or warn in case incorrect module has been passed
diffusers/src/diffusers/pipelines/pipeline_utils.py:276
↓ 1 callersMethodmel_spectrogram_to_waveform
(self, mel_spectrogram)
diffusers/src/diffusers/pipelines/audioldm/pipeline_audioldm.py:255
↓ 1 callersMethodmerge_loss
(self, other_out, train_batch_size, device=None)
loss.py:69
↓ 1 callersMethodmode
(self)
diffusers/src/diffusers/models/vae_flax.py:716
↓ 1 callersFunctionmodel_has_vae
(args)
diffusers/examples/dreambooth/train_dreambooth.py:728
↓ 1 callersFunctionmove_cache
(old_cache_dir: Optional[str] = None, new_cache_dir: Optional[str] = None)
diffusers/src/diffusers/utils/hub_utils.py:175
↓ 1 callersFunctionmovq
(*, args, checkpoint_map_location)
diffusers/scripts/convert_kandinsky_to_diffusers.py:1302
↓ 1 callersFunctionmovq_decoder_to_diffusers_checkpoint
(model, checkpoint)
diffusers/scripts/convert_kandinsky_to_diffusers.py:1051
↓ 1 callersFunctionmovq_encoder_to_diffusers_checkpoint
(model, checkpoint)
diffusers/scripts/convert_kandinsky_to_diffusers.py:951
↓ 1 callersFunctionmovq_model_from_original_config
()
diffusers/scripts/convert_kandinsky_to_diffusers.py:946
↓ 1 callersFunctionmovq_original_checkpoint_to_diffusers_checkpoint
(model, checkpoint)
diffusers/scripts/convert_kandinsky_to_diffusers.py:1272
↓ 1 callersMethodmultistep_deis_second_order_update
One step for the second-order multistep DEIS. Args: model_output_list (`List[torch.FloatTensor]`): direc
diffusers/src/diffusers/schedulers/scheduling_deis_multistep.py:363
↓ 1 callersMethodmultistep_deis_third_order_update
One step for the third-order multistep DEIS. Args: model_output_list (`List[torch.FloatTensor]`): direct
diffusers/src/diffusers/schedulers/scheduling_deis_multistep.py:405
↓ 1 callersMethodmultistep_dpm_solver_second_order_update
One step for the second-order multistep DPM-Solver. Args: model_output_list (`List[torch.FloatTensor]`):
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep_inverse.py:468
↓ 1 callersMethodmultistep_dpm_solver_second_order_update
One step for the second-order multistep DPM-Solver. Args: model_output_list (`List[jnp.ndarray]`): direc
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep_flax.py:341
↓ 1 callersMethodmultistep_dpm_solver_second_order_update
One step for the second-order multistep DPM-Solver. Args: model_output_list (`List[torch.FloatTensor]`):
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep.py:486
↓ 1 callersMethodmultistep_dpm_solver_third_order_update
One step for the third-order multistep DPM-Solver. Args: model_output_list (`List[torch.FloatTensor]`):
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep_inverse.py:533
↓ 1 callersMethodmultistep_dpm_solver_third_order_update
One step for the third-order multistep DPM-Solver. Args: model_output_list (`List[jnp.ndarray]`): direct
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep_flax.py:401
↓ 1 callersMethodmultistep_dpm_solver_third_order_update
One step for the third-order multistep DPM-Solver. Args: model_output_list (`List[torch.FloatTensor]`):
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep.py:578
↓ 1 callersMethodmultistep_uni_c_bh_update
One step for the UniC (B(h) version). Args: this_model_output (`torch.FloatTensor`): the model outputs at `x_t`
diffusers/src/diffusers/schedulers/scheduling_unipc_multistep.py:453
↓ 1 callersMethodmultistep_uni_p_bh_update
One step for the UniP (B(h) version). Alternatively, `self.solver_p` is used if is specified. Args: model_output (`torch
diffusers/src/diffusers/schedulers/scheduling_unipc_multistep.py:348
↓ 1 callersMethodnoise_image_embeddings
Add noise to the image embeddings. The amount of noise is controlled by a `noise_level` input. A higher `noise_level` increases the v
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_unclip.py:567
↓ 1 callersMethodnoise_image_embeddings
Add noise to the image embeddings. The amount of noise is controlled by a `noise_level` input. A higher `noise_level` increases the v
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_unclip_img2img.py:534
↓ 1 callersMethodnoise_mixing_layer
(self, x: torch.Tensor, y: torch.Tensor)
diffusers/examples/community/edict_pipeline.py:79
↓ 1 callersMethodnoise_step
( self, base: torch.Tensor, model_input: torch.Tensor, model_output: torch.Ten
diffusers/examples/community/edict_pipeline.py:93
↓ 1 callersFunctionnote_representation_processor_chain
(features, codec: Codec, note_representation_config: NoteRepresentationConfig)
diffusers/src/diffusers/pipelines/spectrogram_diffusion/midi_utils.py:604
↓ 1 callersFunctionnote_sequence_to_onsets_and_offsets_and_programs
Extract onset & offset times and pitches & programs from a NoteSequence. The onset & offset times will not necessarily be in sorted order. A
diffusers/src/diffusers/pipelines/spectrogram_diffusion/midi_utils.py:302
↓ 1 callersFunctionnum_velocity_bins_from_codec
Get number of velocity bins from event codec.
diffusers/src/diffusers/pipelines/spectrogram_diffusion/midi_utils.py:332
↓ 1 callersMethodnumpy_to_depth
Convert a NumPy depth image or a batch of images to a PIL image.
diffusers/src/diffusers/image_processor.py:309
↓ 1 callersMethodnumpy_to_pil
Convert a NumPy image or a batch of images to a PIL image.
diffusers/src/diffusers/image_processor.py:283
↓ 1 callersFunctiononnx_export
( model, model_args: tuple, output_path: Path, ordered_input_names, output_names, dyna
diffusers/scripts/convert_vae_diff_to_onnx.py:28
↓ 1 callersMethodoptimize
(self, onnx_graph)
diffusers/examples/community/stable_diffusion_tensorrt_txt2img.py:435
↓ 1 callersMethodoptimize
(self, onnx_graph)
diffusers/examples/community/stable_diffusion_tensorrt_img2img.py:449
↓ 1 callersFunctionoverlay_inner_image
(image, inner_image, paste_offset: Tuple[int] = (0, 0))
diffusers/examples/community/img2img_inpainting.py:48
↓ 1 callersFunctionoverwrite_file
(file, class_name, test_name, correct_line, done_test)
diffusers/utils/overwrite_expected_slice.py:19
↓ 1 callersFunctionparse_args
()
train_sdxl.py:58
↓ 1 callersFunctionparse_args
()
diffusers/scripts/convert_if.py:22
↓ 1 callersFunctionparse_args
(input_args=None)
diffusers/examples/custom_diffusion/train_custom_diffusion.py:309
↓ 1 callersFunctionparse_args
()
diffusers/examples/custom_diffusion/retrieve.py:77
↓ 1 callersFunctionparse_args
(input_args=None)
diffusers/examples/dreambooth/train_dreambooth.py:215
↓ 1 callersFunctionparse_args
()
diffusers/examples/dreambooth/train_dreambooth_flax.py:47
↓ 1 callersFunctionparse_args
(input_args=None)
diffusers/examples/dreambooth/train_dreambooth_lora_sdxl.py:124
↓ 1 callersFunctionparse_args
(input_args=None)
diffusers/examples/dreambooth/train_dreambooth_lora.py:141
↓ 1 callersFunctionparse_args
()
diffusers/examples/text_to_image/train_text_to_image_lora.py:84
↓ 1 callersFunctionparse_args
()
diffusers/examples/text_to_image/train_text_to_image_flax.py:41
↓ 1 callersFunctionparse_args
()
diffusers/examples/text_to_image/train_text_to_image.py:205
↓ 1 callersFunctionparse_args
()
diffusers/examples/controlnet/train_controlnet_flax.py:184
↓ 1 callersFunctionparse_args
(input_args=None)
diffusers/examples/controlnet/train_controlnet.py:231
↓ 1 callersFunctionparse_args
(input_args=None)
diffusers/examples/controlnet/train_controlnet_sdxl.py:235
↓ 1 callersFunctionparse_args
()
diffusers/examples/instruct_pix2pix/train_instruct_pix2pix.py:65
↓ 1 callersFunctionparse_args
()
diffusers/examples/research_projects/dreambooth_inpaint/train_dreambooth_inpaint_lora.py:78
↓ 1 callersFunctionparse_args
()
diffusers/examples/research_projects/dreambooth_inpaint/train_dreambooth_inpaint.py:82
↓ 1 callersFunctionparse_args
(input_args=None)
diffusers/examples/research_projects/multi_subject_dreambooth/train_multi_subject_dreambooth.py:179
↓ 1 callersFunctionparse_args
()
diffusers/examples/research_projects/mulit_token_textual_inversion/textual_inversion.py:146
↓ 1 callersFunctionparse_args
()
diffusers/examples/research_projects/mulit_token_textual_inversion/textual_inversion_flax.py:64
↓ 1 callersFunctionparse_args
()
diffusers/examples/research_projects/lora/train_text_to_image_lora.py:85
↓ 1 callersFunctionparse_args
(input_args=None)
diffusers/examples/research_projects/colossalai/train_dreambooth_colossalai.py:53
↓ 1 callersFunctionparse_args
()
diffusers/examples/research_projects/onnxruntime/text_to_image/train_text_to_image.py:117
↓ 1 callersFunctionparse_args
()
diffusers/examples/research_projects/onnxruntime/unconditional_image_generation/train_unconditional.py:56
↓ 1 callersFunctionparse_args
()
diffusers/examples/research_projects/onnxruntime/textual_inversion/textual_inversion.py:172
↓ 1 callersFunctionparse_args
()
diffusers/examples/research_projects/intel_opts/textual_inversion_dfq/text2images.py:13
↓ 1 callersFunctionparse_args
()
diffusers/examples/research_projects/intel_opts/textual_inversion_dfq/textual_inversion.py:55
↓ 1 callersFunctionparse_args
()
diffusers/examples/research_projects/intel_opts/textual_inversion/textual_inversion_bf16.py:66
↓ 1 callersFunctionparse_args
()
diffusers/examples/unconditional_image_generation/train_unconditional.py:56
↓ 1 callersFunctionparse_args
()
diffusers/examples/textual_inversion/textual_inversion.py:171
↓ 1 callersFunctionparse_args
()
diffusers/examples/textual_inversion/textual_inversion_flax.py:64
↓ 1 callersFunctionparse_init
Read an init_file and parse (per backend) the _import_structure objects defined and the TYPE_CHECKING objects defined
diffusers/utils/check_inits.py:59
↓ 1 callersFunctionparse_prompt_attention
Parses a string with attention tokens and returns a list of pairs: text and its associated weight. Accepted tokens are: (abc) - increas
diffusers/examples/community/lpw_stable_diffusion_onnx.py:78
↓ 1 callersFunctionparse_prompt_attention
Parses a string with attention tokens and returns a list of pairs: text and its associated weight. Accepted tokens are: (abc) - increas
diffusers/examples/community/lpw_stable_diffusion.py:52
↓ 1 callersFunctionpost_release_work
Do all the necesarry post-release steps.
diffusers/utils/release.py:132
↓ 1 callersFunctionposterior_sample
(scheduler, latents, timestep, clean_latents, generator, eta)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_cycle_diffusion.py:68
← previousnext →1,701–1,800 of 6,241, ranked by callers