MCPcopy Create free account

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

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

Functionpreprocess_image
(image)
diffusers/examples/community/mixture_canvas.py:20
Functionpreprocess_train
(examples)
diffusers/examples/text_to_image/train_text_to_image_lora.py:628
Functionpreprocess_train
(examples)
diffusers/examples/text_to_image/train_text_to_image_flax.py:336
Functionpreprocess_train
(examples)
diffusers/examples/text_to_image/train_text_to_image.py:785
Functionpreprocess_train
(examples)
diffusers/examples/controlnet/train_controlnet_flax.py:612
Functionpreprocess_train
(examples)
diffusers/examples/controlnet/train_controlnet.py:675
Functionpreprocess_train
(examples)
diffusers/examples/controlnet/train_controlnet_sdxl.py:727
Functionpreprocess_train
(examples)
diffusers/examples/instruct_pix2pix/train_instruct_pix2pix.py:637
Functionpreprocess_train
(examples)
diffusers/examples/research_projects/lora/train_text_to_image_lora.py:667
Functionpreprocess_train
(examples)
diffusers/examples/research_projects/onnxruntime/text_to_image/train_text_to_image.py:698
Functionprint_tensor_test
(tensor, filename="test_corrections.txt", expected_tensor_name="expected_slice")
diffusers/src/diffusers/utils/testing_utils.py:72
Methodprocess
(text: str)
diffusers/src/diffusers/pipelines/deepfloyd_if/pipeline_if_img2img_superresolution.py:254
Methodprocess
(text: str)
diffusers/src/diffusers/pipelines/deepfloyd_if/pipeline_if.py:458
Methodprocess
(text: str)
diffusers/src/diffusers/pipelines/deepfloyd_if/pipeline_if_superresolution.py:212
Methodprocess
(text: str)
diffusers/src/diffusers/pipelines/deepfloyd_if/pipeline_if_img2img.py:504
Methodprocess
(text: str)
diffusers/src/diffusers/pipelines/deepfloyd_if/pipeline_if_inpainting_superresolution.py:256
Methodprocess
(text: str)
diffusers/src/diffusers/pipelines/deepfloyd_if/pipeline_if_inpainting.py:543
Functionprograms_to_midi_classes
Modifies program events to be the first program in the MIDI class.
diffusers/src/diffusers/pipelines/spectrogram_diffusion/midi_utils.py:234
Methodprogress_bar
(self, iterable)
diffusers/src/diffusers/pipelines/pipeline_flax_utils.py:557
Functionpt_to_pil
Convert a torch image to a PIL image.
diffusers/src/diffusers/utils/pil_utils.py:25
Functionpytest_addoption
(parser)
diffusers/tests/conftest.py:33
Functionpytest_addoption
(parser)
diffusers/examples/conftest.py:34
Functionpytest_terminal_summary
(terminalreporter)
diffusers/tests/conftest.py:39
Functionpytest_terminal_summary
(terminalreporter)
diffusers/examples/conftest.py:40
Methodrandom_variance
()
diffusers/src/diffusers/schedulers/scheduling_ddpm_flax.py:266
Functionrearrange_0
(tensor, f)
diffusers/src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:18
Functionrearrange_1
(tensor)
diffusers/src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py:24
Methodrecursive_check
(tuple_object, dict_object)
diffusers/tests/schedulers/test_schedulers.py:520
Methodrecursive_check
(tuple_object, dict_object)
diffusers/tests/schedulers/test_scheduler_flax.py:185
Methodrecursive_check
(tuple_object, dict_object)
diffusers/tests/schedulers/test_scheduler_flax.py:473
Methodrecursive_check
(tuple_object, dict_object)
diffusers/tests/schedulers/test_scheduler_flax.py:685
Methodrecursive_check
(tuple_object, dict_object)
diffusers/tests/models/test_modeling_common.py:496
Methodrecursive_find_attn_block
(name, module)
diffusers/src/diffusers/models/modeling_utils.py:925
Methodregister_modules
(self, **kwargs)
diffusers/src/diffusers/pipelines/pipeline_flax_utils.py:110
Methodregister_subcommand
(parser: ArgumentParser)
diffusers/src/diffusers/commands/fp16_safetensors.py:45
Methodregister_subcommand
(parser: ArgumentParser)
diffusers/src/diffusers/commands/__init__.py:22
Functionregister_to_config
r""" Decorator to apply on the init of classes inheriting from [`ConfigMixin`] so that all the arguments are automatically sent to `self.regis
diffusers/src/diffusers/configuration_utils.py:590
Methodremap_key
(key, state_dict)
diffusers/src/diffusers/loaders.py:152
Methodremove_all_hooks
(self)
diffusers/src/diffusers/pipelines/deepfloyd_if/pipeline_if_img2img_superresolution.py:225
Methodremove_all_hooks
(self)
diffusers/src/diffusers/pipelines/deepfloyd_if/pipeline_if.py:188
Methodremove_all_hooks
(self)
diffusers/src/diffusers/pipelines/deepfloyd_if/pipeline_if_superresolution.py:183
Methodremove_all_hooks
(self)
diffusers/src/diffusers/pipelines/deepfloyd_if/pipeline_if_img2img.py:214
Functionremove_handler
removes given handler from the HuggingFace Diffusers' root logger.
diffusers/src/diffusers/utils/logging.py:211
Methodremove_unused_weights
(self)
diffusers/src/diffusers/pipelines/versatile_diffusion/pipeline_versatile_diffusion_text_to_image.py:99
Methodrenderer_dim
(self)
diffusers/tests/pipelines/shap_e/test_shap_e.py:59
Methodrenderer_dim
(self)
diffusers/tests/pipelines/shap_e/test_shap_e_img2img.py:60
Functionreplace_example_docstring
(example_docstring)
diffusers/src/diffusers/utils/doc_utils.py:20
Functionrequire_compel
Decorator marking a test that requires compel: https://github.com/damian0815/compel. These tests are skipped when the library is not installe
diffusers/src/diffusers/utils/testing_utils.py:199
Functionrequire_flax
Decorator marking a test that requires JAX & Flax. These tests are skipped when one / both are not installed
diffusers/src/diffusers/utils/testing_utils.py:192
Functionrequire_note_seq
Decorator marking a test that requires note_seq. These tests are skipped when note_seq isn't installed.
diffusers/src/diffusers/utils/testing_utils.py:214
Functionrequire_onnxruntime
Decorator marking a test that requires onnxruntime. These tests are skipped when onnxruntime isn't installed.
diffusers/src/diffusers/utils/testing_utils.py:207
Functionrequire_torch
Decorator marking a test that requires PyTorch. These tests are skipped when PyTorch isn't installed.
diffusers/src/diffusers/utils/testing_utils.py:164
Functionrequire_torch_2
Decorator marking a test that requires PyTorch 2. These tests are skipped when it isn't installed.
diffusers/src/diffusers/utils/testing_utils.py:171
Functionrequire_torch_gpu
Decorator marking a test that requires CUDA and PyTorch.
diffusers/src/diffusers/utils/testing_utils.py:180
Functionrequire_torchsde
Decorator marking a test that requires torchsde. These tests are skipped when torchsde isn't installed.
diffusers/src/diffusers/utils/testing_utils.py:221
Functionreset_format
Resets the formatting for 🤗 Diffusers' loggers. All handlers currently bound to the root logger are affected by this method.
diffusers/src/diffusers/utils/logging.py:254
Methodreset_mode
r"""Removes a manually set mode; after calling this, the pipeline will infer the mode from inputs.
diffusers/src/diffusers/pipelines/unidiffuser/pipeline_unidiffuser.py:302
Methodresize_image
Creates a new camera for the resized view assuming the aspect ratio does not change.
diffusers/src/diffusers/pipelines/shap_e/camera.py:105
Functionrule_func
(steps: int)
diffusers/src/diffusers/optimization.py:109
Methodrun
(self)
diffusers/setup.py:169
Methodrun
(self)
diffusers/src/diffusers/commands/fp16_safetensors.py:85
Methodrun
(self)
diffusers/src/diffusers/commands/__init__.py:26
Methodrun_safety_checker
(self, image, device, dtype)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_depth2img.py:296
Methodsafety_concept
r""" Getter method for the safety concept used with SLD Returns: `str`: The text describing the safety concept
diffusers/src/diffusers/pipelines/stable_diffusion_safe/pipeline_stable_diffusion_safe.py:150
Methodsample
Args: t0: start time has shape [batch_size, *shape, 1] t1: finish time has shape [batch_size, *shape, 1]
diffusers/src/diffusers/pipelines/shap_e/renderer.py:338
Methodsave_function
(weights, filename)
diffusers/src/diffusers/loaders.py:429
Methodsave_function
(weights, filename)
diffusers/src/diffusers/loaders.py:1184
Functionsave_model_hook
(models, output_dir)
train_sdxl.py:422
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/dreambooth/train_dreambooth.py:903
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/dreambooth/train_dreambooth_lora_sdxl.py:810
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/dreambooth/train_dreambooth_lora.py:890
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/text_to_image/train_text_to_image.py:643
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/controlnet/train_controlnet.py:787
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/controlnet/train_controlnet_sdxl.py:856
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/instruct_pix2pix/train_instruct_pix2pix.py:487
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/onnxruntime/text_to_image/train_text_to_image.py:554
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/research_projects/onnxruntime/unconditional_image_generation/train_unconditional.py:315
Functionsave_model_hook
(models, weights, output_dir)
diffusers/examples/unconditional_image_generation/train_unconditional.py:311
Methodsave_pretrained
Save a model to a directory, so that it can be re-loaded using the [`~OnnxModel.from_pretrained`] class method.: Arguments:
diffusers/src/diffusers/pipelines/onnx_utils.py:110
Methodsave_pretrained
Save all variables of the pipeline that can be saved and loaded as well as the pipelines configuration file to a directory. A pipelin
diffusers/src/diffusers/pipelines/pipeline_flax_utils.py:143
Methodsave_pretrained
Save all saveable variables of the pipeline to a directory. A pipeline variable can be saved and loaded if its class implements both
diffusers/src/diffusers/pipelines/pipeline_utils.py:537
Methodsave_pretrained
Save a model and its configuration file to a directory, so that it can be re-loaded using the `[`~pipelines.controlnet.MultiControlNe
diffusers/src/diffusers/pipelines/controlnet/multicontrolnet.py:73
Methodsave_pretrained
Save a scheduler configuration object to the directory `save_directory`, so that it can be re-loaded using the [`~SchedulerMixin.from
diffusers/src/diffusers/schedulers/scheduling_utils.py:149
Methodsave_pretrained
Save a scheduler configuration object to the directory `save_directory`, so that it can be re-loaded using the [`~FlaxSchedulerMixin.
diffusers/src/diffusers/schedulers/scheduling_utils_flax.py:151
Methodsave_pretrained
Save a model and its configuration file to a directory so that it can be reloaded using the [`~FlaxModelMixin.from_pretrained`] class
diffusers/src/diffusers/models/modeling_flax_utils.py:495
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/src/diffusers/schedulers/scheduling_ipndm.py:135
Methodscale_model_input
Scales the denoising model input by `(sigma**2 + 1) ** 0.5` to match the K-LMS algorithm. Args: sample (`torch.FloatTens
diffusers/src/diffusers/schedulers/scheduling_lms_discrete.py:182
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/src/diffusers/schedulers/scheduling_ddpm.py:195
Methodscale_model_input
Args: Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timest
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_sde.py:229
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/src/diffusers/schedulers/scheduling_repaint.py:168
Methodscale_model_input
Args: Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timest
diffusers/src/diffusers/schedulers/scheduling_k_dpm_2_ancestral_discrete.py:169
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/src/diffusers/schedulers/scheduling_ddim_parallel.py:247
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/src/diffusers/schedulers/scheduling_unclip.py:148
Methodscale_model_input
Scales the consistency model input by `(sigma**2 + sigma_data**2) ** 0.5`, following the EDM model. Args: sample (`torch
diffusers/src/diffusers/schedulers/scheduling_consistency_models.py:113
Methodscale_model_input
Scales the denoising model input by `(sigma**2 + 1) ** 0.5` to match the Euler algorithm. Args: sample (`torch.FloatTens
diffusers/src/diffusers/schedulers/scheduling_euler_ancestral_discrete.py:177
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/src/diffusers/schedulers/scheduling_deis_multistep.py:530
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/src/diffusers/schedulers/scheduling_pndm_flax.py:222
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
diffusers/src/diffusers/schedulers/scheduling_sde_ve.py:89
Methodscale_model_input
Args: Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timest
diffusers/src/diffusers/schedulers/scheduling_k_dpm_2_discrete.py:168
Methodscale_model_input
Args: state (`PNDMSchedulerState`): the `FlaxPNDMScheduler` state data class instance. sample (`jnp.ndarray`): input
diffusers/src/diffusers/schedulers/scheduling_ddim_flax.py:151
← previousnext →4,501–4,600 of 6,241, ranked by callers