├── LICENSE
├── Makefile
├── README.md
├── VERSION
├── build
└── lib
│ ├── ppdiffusers
│ ├── __init__.py
│ ├── commands
│ │ ├── __init__.py
│ │ ├── env.py
│ │ └── ppdiffusers_cli.py
│ ├── configuration_utils.py
│ ├── download_utils.py
│ ├── experimental
│ │ ├── __init__.py
│ │ └── rl
│ │ │ ├── __init__.py
│ │ │ └── value_guided_sampling.py
│ ├── fastdeploy_utils.py
│ ├── initializer.py
│ ├── loaders.py
│ ├── modeling_paddle_pytorch_utils.py
│ ├── modeling_utils.py
│ ├── models
│ │ ├── __init__.py
│ │ ├── attention.py
│ │ ├── controlnet.py
│ │ ├── cross_attention.py
│ │ ├── ema.py
│ │ ├── embeddings.py
│ │ ├── prior_transformer.py
│ │ ├── resnet.py
│ │ ├── unet_1d.py
│ │ ├── unet_1d_blocks.py
│ │ ├── unet_2d.py
│ │ ├── unet_2d_blocks.py
│ │ ├── unet_2d_condition.py
│ │ └── vae.py
│ ├── optimization.py
│ ├── pipeline_utils.py
│ ├── pipelines
│ │ ├── __init__.py
│ │ ├── alt_diffusion
│ │ │ ├── __init__.py
│ │ │ ├── modeling_roberta_series.py
│ │ │ ├── pipeline_alt_diffusion.py
│ │ │ └── pipeline_alt_diffusion_img2img.py
│ │ ├── audio_diffusion
│ │ │ ├── __init__.py
│ │ │ ├── mel.py
│ │ │ └── pipeline_audio_diffusion.py
│ │ ├── dance_diffusion
│ │ │ ├── __init__.py
│ │ │ └── pipeline_dance_diffusion.py
│ │ ├── ddim
│ │ │ ├── __init__.py
│ │ │ └── pipeline_ddim.py
│ │ ├── ddpm
│ │ │ ├── __init__.py
│ │ │ └── pipeline_ddpm.py
│ │ ├── latent_diffusion
│ │ │ ├── __init__.py
│ │ │ ├── pipeline_latent_diffusion.py
│ │ │ └── pipeline_latent_diffusion_superresolution.py
│ │ ├── latent_diffusion_uncond
│ │ │ ├── __init__.py
│ │ │ └── pipeline_latent_diffusion_uncond.py
│ │ ├── paint_by_example
│ │ │ ├── __init__.py
│ │ │ ├── image_encoder.py
│ │ │ └── pipeline_paint_by_example.py
│ │ ├── pndm
│ │ │ ├── __init__.py
│ │ │ └── pipeline_pndm.py
│ │ ├── repaint
│ │ │ ├── __init__.py
│ │ │ └── pipeline_repaint.py
│ │ ├── score_sde_ve
│ │ │ ├── __init__.py
│ │ │ └── pipeline_score_sde_ve.py
│ │ ├── stable_diffusion
│ │ │ ├── __init__.py
│ │ │ ├── pipeline_cycle_diffusion.py
│ │ │ ├── pipeline_fastdeploy_cycle_diffusion.py
│ │ │ ├── pipeline_fastdeploy_stable_diffusion.py
│ │ │ ├── pipeline_fastdeploy_stable_diffusion_img2img.py
│ │ │ ├── pipeline_fastdeploy_stable_diffusion_inpaint.py
│ │ │ ├── pipeline_fastdeploy_stable_diffusion_inpaint_legacy.py
│ │ │ ├── pipeline_fastdeploy_stable_diffusion_mega.py
│ │ │ ├── pipeline_stable_diffusion.py
│ │ │ ├── pipeline_stable_diffusion_all_in_one.py
│ │ │ ├── pipeline_stable_diffusion_controlnet.py
│ │ │ ├── pipeline_stable_diffusion_depth2img.py
│ │ │ ├── pipeline_stable_diffusion_image_variation.py
│ │ │ ├── pipeline_stable_diffusion_img2img.py
│ │ │ ├── pipeline_stable_diffusion_inpaint.py
│ │ │ ├── pipeline_stable_diffusion_inpaint_legacy.py
│ │ │ ├── pipeline_stable_diffusion_k_diffusion.py
│ │ │ ├── pipeline_stable_diffusion_mega.py
│ │ │ ├── pipeline_stable_diffusion_upscale.py
│ │ │ └── safety_checker.py
│ │ ├── stable_diffusion_safe
│ │ │ ├── __init__.py
│ │ │ ├── pipeline_stable_diffusion_safe.py
│ │ │ └── safety_checker.py
│ │ ├── stochastic_karras_ve
│ │ │ ├── __init__.py
│ │ │ └── pipeline_stochastic_karras_ve.py
│ │ ├── unclip
│ │ │ ├── __init__.py
│ │ │ ├── pipeline_unclip.py
│ │ │ └── text_proj.py
│ │ ├── versatile_diffusion
│ │ │ ├── __init__.py
│ │ │ ├── modeling_text_unet.py
│ │ │ ├── pipeline_versatile_diffusion.py
│ │ │ ├── pipeline_versatile_diffusion_dual_guided.py
│ │ │ ├── pipeline_versatile_diffusion_image_variation.py
│ │ │ └── pipeline_versatile_diffusion_text_to_image.py
│ │ └── vq_diffusion
│ │ │ ├── __init__.py
│ │ │ └── pipeline_vq_diffusion.py
│ ├── ppnlp_patch_utils.py
│ ├── schedulers
│ │ ├── __init__.py
│ │ ├── preconfig
│ │ │ ├── __init__.py
│ │ │ ├── preconfig_scheduling_euler_ancestral_discrete.py
│ │ │ └── preconfig_scheduling_lms_discrete.py
│ │ ├── scheduling_ddim.py
│ │ ├── scheduling_ddpm.py
│ │ ├── scheduling_dpmsolver_multistep.py
│ │ ├── scheduling_dpmsolver_singlestep.py
│ │ ├── scheduling_euler_ancestral_discrete.py
│ │ ├── scheduling_euler_discrete.py
│ │ ├── scheduling_heun_discrete.py
│ │ ├── scheduling_ipndm.py
│ │ ├── scheduling_k_dpm_2_ancestral_discrete.py
│ │ ├── scheduling_k_dpm_2_discrete.py
│ │ ├── scheduling_karras_ve.py
│ │ ├── scheduling_lms_discrete.py
│ │ ├── scheduling_pndm.py
│ │ ├── scheduling_repaint.py
│ │ ├── scheduling_sde_ve.py
│ │ ├── scheduling_sde_vp.py
│ │ ├── scheduling_unclip.py
│ │ ├── scheduling_utils.py
│ │ └── scheduling_vq_diffusion.py
│ ├── training_utils.py
│ ├── utils
│ │ ├── __init__.py
│ │ ├── deprecation_utils.py
│ │ ├── dummy_paddle_and_librosa_objects.py
│ │ ├── dummy_paddle_and_paddlenlp_and_fastdeploy_objects.py
│ │ ├── dummy_paddle_and_paddlenlp_and_k_diffusion_objects.py
│ │ ├── dummy_paddle_and_paddlenlp_objects.py
│ │ ├── dummy_paddle_and_scipy_objects.py
│ │ ├── dummy_paddle_objects.py
│ │ ├── import_utils.py
│ │ ├── logging.py
│ │ ├── outputs.py
│ │ ├── pil_utils.py
│ │ └── testing_utils.py
│ └── version.py
│ └── tests
│ ├── __init__.py
│ ├── models
│ ├── __init__.py
│ ├── test_models_unet_1d.py
│ ├── test_models_unet_2d.py
│ ├── test_models_vae.py
│ └── test_models_vq.py
│ ├── pipelines
│ ├── __init__.py
│ ├── altdiffusion
│ │ ├── __init__.py
│ │ ├── test_alt_diffusion.py
│ │ └── test_alt_diffusion_img2img.py
│ ├── audio_diffusion
│ │ ├── __init__.py
│ │ └── test_audio_diffusion.py
│ ├── dance_diffusion
│ │ ├── __init__.py
│ │ └── test_dance_diffusion.py
│ ├── ddim
│ │ ├── __init__.py
│ │ └── test_ddim.py
│ ├── ddpm
│ │ ├── __init__.py
│ │ └── test_ddpm.py
│ ├── karras_ve
│ │ ├── __init__.py
│ │ └── test_karras_ve.py
│ ├── latent_diffusion
│ │ ├── __init__.py
│ │ ├── test_latent_diffusion.py
│ │ ├── test_latent_diffusion_superresolution.py
│ │ └── test_latent_diffusion_uncond.py
│ ├── paint_by_example
│ │ ├── __init__.py
│ │ └── test_paint_by_example.py
│ ├── pndm
│ │ ├── __init__.py
│ │ └── test_pndm.py
│ ├── repaint
│ │ ├── __init__.py
│ │ └── test_repaint.py
│ ├── score_sde_ve
│ │ ├── __init__.py
│ │ └── test_score_sde_ve.py
│ ├── stable_diffusion
│ │ ├── __init__.py
│ │ ├── test_cycle_diffusion.py
│ │ ├── test_fastdeploy_stable_diffusion.py
│ │ ├── test_fastdeploy_stable_diffusion_img2img.py
│ │ ├── test_fastdeploy_stable_diffusion_inpaint.py
│ │ ├── test_fastdeploy_stable_diffusion_inpaint_legacy.py
│ │ ├── test_stable_diffusion.py
│ │ ├── test_stable_diffusion_image_variation.py
│ │ ├── test_stable_diffusion_img2img.py
│ │ ├── test_stable_diffusion_inpaint.py
│ │ ├── test_stable_diffusion_inpaint_legacy.py
│ │ └── test_stable_diffusion_k_diffusion.py
│ ├── stable_diffusion_2
│ │ ├── __init__.py
│ │ ├── test_stable_diffusion.py
│ │ ├── test_stable_diffusion_depth.py
│ │ ├── test_stable_diffusion_inpaint.py
│ │ ├── test_stable_diffusion_upscale.py
│ │ └── test_stable_diffusion_v_pred.py
│ ├── stable_diffusion_safe
│ │ ├── __init__.py
│ │ └── test_safe_diffusion.py
│ ├── unclip
│ │ ├── __init__.py
│ │ └── test_unclip.py
│ ├── versatile_diffusion
│ │ ├── __init__.py
│ │ ├── test_versatile_diffusion_dual_guided.py
│ │ ├── test_versatile_diffusion_image_variation.py
│ │ ├── test_versatile_diffusion_mega.py
│ │ └── test_versatile_diffusion_text_to_image.py
│ └── vq_diffusion
│ │ ├── __init__.py
│ │ └── test_vq_diffusion.py
│ ├── test_config.py
│ ├── test_layers_utils.py
│ ├── test_modeling_common.py
│ ├── test_outputs.py
│ ├── test_pipelines.py
│ ├── test_pipelines_common.py
│ ├── test_pipelines_fastdeploy_common.py
│ ├── test_scheduler.py
│ ├── test_training.py
│ └── test_utils.py
├── deploy
├── README.md
├── export.md
├── export_model.py
├── img_to_img_infer.py
├── inpaint_infer.py
├── inpaint_legacy_infer.py
├── text_guided_img_to_img_infer.py
└── text_to_img_infer.py
├── dist
└── ppdiffusers-0.11.0-py3.7.egg
├── dream_booth_lora_outputs
└── dream_booth_lora_save_here.txt
├── examples
├── Stable-CycleDiffusion
│ ├── README.md
│ ├── app.py
│ ├── ptp_utils.py
│ ├── requirements.txt
│ └── seq_aligner.py
├── autoencoder
│ └── vae
│ │ ├── README.md
│ │ ├── config
│ │ ├── f8encoder_f16decoder.yaml
│ │ └── vae.json
│ │ ├── data
│ │ └── filelist
│ │ │ ├── laion400m_en.filelist
│ │ │ ├── train.filelist.list
│ │ │ └── write_filelist.py
│ │ ├── ldm
│ │ ├── __init__.py
│ │ ├── autoencoder_datasets.py
│ │ ├── image_degradation
│ │ │ ├── __init__.py
│ │ │ ├── bsrgan.py
│ │ │ ├── bsrgan_light.py
│ │ │ └── utils_image.py
│ │ ├── losses.py
│ │ ├── model.py
│ │ └── text_image_pair.py
│ │ ├── requirements.txt
│ │ ├── run.sh
│ │ ├── scripts
│ │ ├── README.md
│ │ ├── calculate_psnr_ssim.py
│ │ ├── convert_kl_8_to_ppdiffusers.py
│ │ ├── fid_score.py
│ │ ├── get_autoencoder_results.py
│ │ └── inception.py
│ │ └── train_vae.py
├── clip_interrogator
│ ├── LICENSE
│ ├── README.md
│ ├── clip_interrogator
│ │ ├── __init__.py
│ │ ├── blip_decoder.py
│ │ └── clip_interrogator.py
│ ├── dumpy.py
│ ├── predict.py
│ ├── requirements.txt
│ ├── run_cli.py
│ └── run_gradio.py
├── community
│ ├── README.md
│ ├── clip_guided_stable_diffusion.py
│ ├── composable_stable_diffusion.py
│ ├── inference_clip_guided_stable_diffusion.py
│ ├── interpolate_stable_diffusion.py
│ ├── lpw_stable_diffusion.py
│ ├── one_step_unet.py
│ ├── stable_diffusion_mega.py
│ └── wildcard_stable_diffusion.py
├── controlnet
│ ├── README.md
│ ├── __pycache__
│ │ └── gradio_pose2image.cpython-37.pyc
│ ├── annotator
│ │ ├── __init__.py
│ │ ├── __pycache__
│ │ │ └── util.cpython-37.pyc
│ │ ├── _base_
│ │ │ ├── ade20k.yml
│ │ │ ├── cityscapes.yml
│ │ │ └── cityscapes_1024x1024.yml
│ │ ├── canny
│ │ │ └── __init__.py
│ │ ├── openpose
│ │ │ ├── __init__.py
│ │ │ ├── __pycache__
│ │ │ │ ├── __init__.cpython-37.pyc
│ │ │ │ └── util.cpython-37.pyc
│ │ │ └── util.py
│ │ ├── segformer_paddle
│ │ │ ├── __init__.py
│ │ │ ├── predict.py
│ │ │ └── segformer_b5_cityscapes_1024x1024_160k.yml
│ │ ├── segmenter_paddle
│ │ │ ├── __init__.py
│ │ │ ├── predict.py
│ │ │ ├── segmenter_vit_base_linear_ade20k_512x512_160k.yml
│ │ │ └── segmenter_vit_base_mask_ade20k_512x512_160k.yml
│ │ └── util.py
│ ├── control
│ │ ├── __init__.py
│ │ ├── control_args.py
│ │ ├── control_trainer.py
│ │ ├── dumpy_dataset.py
│ │ └── model.py
│ ├── gradio_canny2image.py
│ ├── gradio_pose2image.py
│ ├── ppdiffusers
│ │ ├── __init__.py
│ │ ├── __pycache__
│ │ │ ├── __init__.cpython-37.pyc
│ │ │ ├── configuration_utils.cpython-37.pyc
│ │ │ ├── download_utils.cpython-37.pyc
│ │ │ ├── fastdeploy_utils.cpython-37.pyc
│ │ │ ├── initializer.cpython-37.pyc
│ │ │ ├── loaders.cpython-37.pyc
│ │ │ ├── modeling_utils.cpython-37.pyc
│ │ │ ├── optimization.cpython-37.pyc
│ │ │ ├── pipeline_utils.cpython-37.pyc
│ │ │ ├── ppnlp_patch_utils.cpython-37.pyc
│ │ │ ├── training_utils.cpython-37.pyc
│ │ │ └── version.cpython-37.pyc
│ │ ├── commands
│ │ │ ├── __init__.py
│ │ │ ├── env.py
│ │ │ └── ppdiffusers_cli.py
│ │ ├── configuration_utils.py
│ │ ├── download_utils.py
│ │ ├── experimental
│ │ │ ├── README.md
│ │ │ ├── __init__.py
│ │ │ └── rl
│ │ │ │ ├── __init__.py
│ │ │ │ └── value_guided_sampling.py
│ │ ├── fastdeploy_utils.py
│ │ ├── initializer.py
│ │ ├── loaders.py
│ │ ├── modeling_paddle_pytorch_utils.py
│ │ ├── modeling_utils.py
│ │ ├── models
│ │ │ ├── __init__.py
│ │ │ ├── __pycache__
│ │ │ │ ├── __init__.cpython-37.pyc
│ │ │ │ ├── attention.cpython-37.pyc
│ │ │ │ ├── controlnet.cpython-37.pyc
│ │ │ │ ├── cross_attention.cpython-37.pyc
│ │ │ │ ├── embeddings.cpython-37.pyc
│ │ │ │ ├── prior_transformer.cpython-37.pyc
│ │ │ │ ├── resnet.cpython-37.pyc
│ │ │ │ ├── unet_1d.cpython-37.pyc
│ │ │ │ ├── unet_1d_blocks.cpython-37.pyc
│ │ │ │ ├── unet_2d.cpython-37.pyc
│ │ │ │ ├── unet_2d_blocks.cpython-37.pyc
│ │ │ │ ├── unet_2d_condition.cpython-37.pyc
│ │ │ │ └── vae.cpython-37.pyc
│ │ │ ├── attention.py
│ │ │ ├── controlnet.py
│ │ │ ├── cross_attention.py
│ │ │ ├── ema.py
│ │ │ ├── embeddings.py
│ │ │ ├── prior_transformer.py
│ │ │ ├── resnet.py
│ │ │ ├── unet_1d.py
│ │ │ ├── unet_1d_blocks.py
│ │ │ ├── unet_2d.py
│ │ │ ├── unet_2d_blocks.py
│ │ │ ├── unet_2d_condition.py
│ │ │ └── vae.py
│ │ ├── optimization.py
│ │ ├── pipeline_utils.py
│ │ ├── pipelines
│ │ │ ├── README.md
│ │ │ ├── __init__.py
│ │ │ ├── __pycache__
│ │ │ │ └── __init__.cpython-37.pyc
│ │ │ ├── alt_diffusion
│ │ │ │ ├── __init__.py
│ │ │ │ ├── __pycache__
│ │ │ │ │ ├── __init__.cpython-37.pyc
│ │ │ │ │ ├── modeling_roberta_series.cpython-37.pyc
│ │ │ │ │ ├── pipeline_alt_diffusion.cpython-37.pyc
│ │ │ │ │ └── pipeline_alt_diffusion_img2img.cpython-37.pyc
│ │ │ │ ├── modeling_roberta_series.py
│ │ │ │ ├── pipeline_alt_diffusion.py
│ │ │ │ └── pipeline_alt_diffusion_img2img.py
│ │ │ ├── audio_diffusion
│ │ │ │ ├── __init__.py
│ │ │ │ ├── __pycache__
│ │ │ │ │ ├── __init__.cpython-37.pyc
│ │ │ │ │ ├── mel.cpython-37.pyc
│ │ │ │ │ └── pipeline_audio_diffusion.cpython-37.pyc
│ │ │ │ ├── mel.py
│ │ │ │ └── pipeline_audio_diffusion.py
│ │ │ ├── dance_diffusion
│ │ │ │ ├── __init__.py
│ │ │ │ ├── __pycache__
│ │ │ │ │ ├── __init__.cpython-37.pyc
│ │ │ │ │ └── pipeline_dance_diffusion.cpython-37.pyc
│ │ │ │ └── pipeline_dance_diffusion.py
│ │ │ ├── ddim
│ │ │ │ ├── __init__.py
│ │ │ │ ├── __pycache__
│ │ │ │ │ ├── __init__.cpython-37.pyc
│ │ │ │ │ └── pipeline_ddim.cpython-37.pyc
│ │ │ │ └── pipeline_ddim.py
│ │ │ ├── ddpm
│ │ │ │ ├── __init__.py
│ │ │ │ ├── __pycache__
│ │ │ │ │ ├── __init__.cpython-37.pyc
│ │ │ │ │ └── pipeline_ddpm.cpython-37.pyc
│ │ │ │ └── pipeline_ddpm.py
│ │ │ ├── latent_diffusion
│ │ │ │ ├── __init__.py
│ │ │ │ ├── __pycache__
│ │ │ │ │ ├── __init__.cpython-37.pyc
│ │ │ │ │ ├── pipeline_latent_diffusion.cpython-37.pyc
│ │ │ │ │ └── pipeline_latent_diffusion_superresolution.cpython-37.pyc
│ │ │ │ ├── pipeline_latent_diffusion.py
│ │ │ │ └── pipeline_latent_diffusion_superresolution.py
│ │ │ ├── latent_diffusion_uncond
│ │ │ │ ├── __init__.py
│ │ │ │ ├── __pycache__
│ │ │ │ │ ├── __init__.cpython-37.pyc
│ │ │ │ │ └── pipeline_latent_diffusion_uncond.cpython-37.pyc
│ │ │ │ └── pipeline_latent_diffusion_uncond.py
│ │ │ ├── paint_by_example
│ │ │ │ ├── __init__.py
│ │ │ │ ├── __pycache__
│ │ │ │ │ ├── __init__.cpython-37.pyc
│ │ │ │ │ ├── image_encoder.cpython-37.pyc
│ │ │ │ │ └── pipeline_paint_by_example.cpython-37.pyc
│ │ │ │ ├── image_encoder.py
│ │ │ │ └── pipeline_paint_by_example.py
│ │ │ ├── pndm
│ │ │ │ ├── __init__.py
│ │ │ │ ├── __pycache__
│ │ │ │ │ ├── __init__.cpython-37.pyc
│ │ │ │ │ └── pipeline_pndm.cpython-37.pyc
│ │ │ │ └── pipeline_pndm.py
│ │ │ ├── repaint
│ │ │ │ ├── __init__.py
│ │ │ │ ├── __pycache__
│ │ │ │ │ ├── __init__.cpython-37.pyc
│ │ │ │ │ └── pipeline_repaint.cpython-37.pyc
│ │ │ │ └── pipeline_repaint.py
│ │ │ ├── score_sde_ve
│ │ │ │ ├── __init__.py
│ │ │ │ ├── __pycache__
│ │ │ │ │ ├── __init__.cpython-37.pyc
│ │ │ │ │ └── pipeline_score_sde_ve.cpython-37.pyc
│ │ │ │ └── pipeline_score_sde_ve.py
│ │ │ ├── stable_diffusion
│ │ │ │ ├── __init__.py
│ │ │ │ ├── __pycache__
│ │ │ │ │ ├── __init__.cpython-37.pyc
│ │ │ │ │ ├── pipeline_cycle_diffusion.cpython-37.pyc
│ │ │ │ │ ├── pipeline_stable_diffusion.cpython-37.pyc
│ │ │ │ │ ├── pipeline_stable_diffusion_all_in_one.cpython-37.pyc
│ │ │ │ │ ├── pipeline_stable_diffusion_controlnet.cpython-37.pyc
│ │ │ │ │ ├── pipeline_stable_diffusion_depth2img.cpython-37.pyc
│ │ │ │ │ ├── pipeline_stable_diffusion_image_variation.cpython-37.pyc
│ │ │ │ │ ├── pipeline_stable_diffusion_img2img.cpython-37.pyc
│ │ │ │ │ ├── pipeline_stable_diffusion_inpaint.cpython-37.pyc
│ │ │ │ │ ├── pipeline_stable_diffusion_inpaint_legacy.cpython-37.pyc
│ │ │ │ │ ├── pipeline_stable_diffusion_k_diffusion.cpython-37.pyc
│ │ │ │ │ ├── pipeline_stable_diffusion_mega.cpython-37.pyc
│ │ │ │ │ ├── pipeline_stable_diffusion_upscale.cpython-37.pyc
│ │ │ │ │ └── safety_checker.cpython-37.pyc
│ │ │ │ ├── pipeline_cycle_diffusion.py
│ │ │ │ ├── pipeline_fastdeploy_cycle_diffusion.py
│ │ │ │ ├── pipeline_fastdeploy_stable_diffusion.py
│ │ │ │ ├── pipeline_fastdeploy_stable_diffusion_img2img.py
│ │ │ │ ├── pipeline_fastdeploy_stable_diffusion_inpaint.py
│ │ │ │ ├── pipeline_fastdeploy_stable_diffusion_inpaint_legacy.py
│ │ │ │ ├── pipeline_fastdeploy_stable_diffusion_mega.py
│ │ │ │ ├── pipeline_stable_diffusion.py
│ │ │ │ ├── pipeline_stable_diffusion_all_in_one.py
│ │ │ │ ├── pipeline_stable_diffusion_controlnet.py
│ │ │ │ ├── pipeline_stable_diffusion_depth2img.py
│ │ │ │ ├── pipeline_stable_diffusion_image_variation.py
│ │ │ │ ├── pipeline_stable_diffusion_img2img.py
│ │ │ │ ├── pipeline_stable_diffusion_inpaint.py
│ │ │ │ ├── pipeline_stable_diffusion_inpaint_legacy.py
│ │ │ │ ├── pipeline_stable_diffusion_k_diffusion.py
│ │ │ │ ├── pipeline_stable_diffusion_mega.py
│ │ │ │ ├── pipeline_stable_diffusion_upscale.py
│ │ │ │ └── safety_checker.py
│ │ │ ├── stable_diffusion_safe
│ │ │ │ ├── __init__.py
│ │ │ │ ├── __pycache__
│ │ │ │ │ ├── __init__.cpython-37.pyc
│ │ │ │ │ ├── pipeline_stable_diffusion_safe.cpython-37.pyc
│ │ │ │ │ └── safety_checker.cpython-37.pyc
│ │ │ │ ├── pipeline_stable_diffusion_safe.py
│ │ │ │ └── safety_checker.py
│ │ │ ├── stochastic_karras_ve
│ │ │ │ ├── __init__.py
│ │ │ │ ├── __pycache__
│ │ │ │ │ ├── __init__.cpython-37.pyc
│ │ │ │ │ └── pipeline_stochastic_karras_ve.cpython-37.pyc
│ │ │ │ └── pipeline_stochastic_karras_ve.py
│ │ │ ├── unclip
│ │ │ │ ├── __init__.py
│ │ │ │ ├── __pycache__
│ │ │ │ │ ├── __init__.cpython-37.pyc
│ │ │ │ │ ├── pipeline_unclip.cpython-37.pyc
│ │ │ │ │ └── text_proj.cpython-37.pyc
│ │ │ │ ├── pipeline_unclip.py
│ │ │ │ └── text_proj.py
│ │ │ ├── versatile_diffusion
│ │ │ │ ├── __init__.py
│ │ │ │ ├── __pycache__
│ │ │ │ │ ├── __init__.cpython-37.pyc
│ │ │ │ │ ├── modeling_text_unet.cpython-37.pyc
│ │ │ │ │ ├── pipeline_versatile_diffusion.cpython-37.pyc
│ │ │ │ │ ├── pipeline_versatile_diffusion_dual_guided.cpython-37.pyc
│ │ │ │ │ ├── pipeline_versatile_diffusion_image_variation.cpython-37.pyc
│ │ │ │ │ └── pipeline_versatile_diffusion_text_to_image.cpython-37.pyc
│ │ │ │ ├── modeling_text_unet.py
│ │ │ │ ├── pipeline_versatile_diffusion.py
│ │ │ │ ├── pipeline_versatile_diffusion_dual_guided.py
│ │ │ │ ├── pipeline_versatile_diffusion_image_variation.py
│ │ │ │ └── pipeline_versatile_diffusion_text_to_image.py
│ │ │ └── vq_diffusion
│ │ │ │ ├── __init__.py
│ │ │ │ ├── __pycache__
│ │ │ │ ├── __init__.cpython-37.pyc
│ │ │ │ └── pipeline_vq_diffusion.cpython-37.pyc
│ │ │ │ └── pipeline_vq_diffusion.py
│ │ ├── ppnlp_patch_utils.py
│ │ ├── schedulers
│ │ │ ├── __init__.py
│ │ │ ├── __pycache__
│ │ │ │ ├── __init__.cpython-37.pyc
│ │ │ │ ├── scheduling_ddim.cpython-37.pyc
│ │ │ │ ├── scheduling_ddpm.cpython-37.pyc
│ │ │ │ ├── scheduling_dpmsolver_multistep.cpython-37.pyc
│ │ │ │ ├── scheduling_dpmsolver_singlestep.cpython-37.pyc
│ │ │ │ ├── scheduling_euler_ancestral_discrete.cpython-37.pyc
│ │ │ │ ├── scheduling_euler_discrete.cpython-37.pyc
│ │ │ │ ├── scheduling_heun_discrete.cpython-37.pyc
│ │ │ │ ├── scheduling_ipndm.cpython-37.pyc
│ │ │ │ ├── scheduling_k_dpm_2_ancestral_discrete.cpython-37.pyc
│ │ │ │ ├── scheduling_k_dpm_2_discrete.cpython-37.pyc
│ │ │ │ ├── scheduling_karras_ve.cpython-37.pyc
│ │ │ │ ├── scheduling_lms_discrete.cpython-37.pyc
│ │ │ │ ├── scheduling_pndm.cpython-37.pyc
│ │ │ │ ├── scheduling_repaint.cpython-37.pyc
│ │ │ │ ├── scheduling_sde_ve.cpython-37.pyc
│ │ │ │ ├── scheduling_sde_vp.cpython-37.pyc
│ │ │ │ ├── scheduling_unclip.cpython-37.pyc
│ │ │ │ ├── scheduling_utils.cpython-37.pyc
│ │ │ │ └── scheduling_vq_diffusion.cpython-37.pyc
│ │ │ ├── preconfig
│ │ │ │ ├── __init__.py
│ │ │ │ ├── __pycache__
│ │ │ │ │ ├── __init__.cpython-37.pyc
│ │ │ │ │ ├── preconfig_scheduling_euler_ancestral_discrete.cpython-37.pyc
│ │ │ │ │ └── preconfig_scheduling_lms_discrete.cpython-37.pyc
│ │ │ │ ├── preconfig_scheduling_euler_ancestral_discrete.py
│ │ │ │ └── preconfig_scheduling_lms_discrete.py
│ │ │ ├── scheduling_ddim.py
│ │ │ ├── scheduling_ddpm.py
│ │ │ ├── scheduling_dpmsolver_multistep.py
│ │ │ ├── scheduling_dpmsolver_singlestep.py
│ │ │ ├── scheduling_euler_ancestral_discrete.py
│ │ │ ├── scheduling_euler_discrete.py
│ │ │ ├── scheduling_heun_discrete.py
│ │ │ ├── scheduling_ipndm.py
│ │ │ ├── scheduling_k_dpm_2_ancestral_discrete.py
│ │ │ ├── scheduling_k_dpm_2_discrete.py
│ │ │ ├── scheduling_karras_ve.py
│ │ │ ├── scheduling_lms_discrete.py
│ │ │ ├── scheduling_pndm.py
│ │ │ ├── scheduling_repaint.py
│ │ │ ├── scheduling_sde_ve.py
│ │ │ ├── scheduling_sde_vp.py
│ │ │ ├── scheduling_unclip.py
│ │ │ ├── scheduling_utils.py
│ │ │ └── scheduling_vq_diffusion.py
│ │ ├── training_utils.py
│ │ ├── utils
│ │ │ ├── __init__.py
│ │ │ ├── __pycache__
│ │ │ │ ├── __init__.cpython-37.pyc
│ │ │ │ ├── deprecation_utils.cpython-37.pyc
│ │ │ │ ├── dummy_paddle_and_paddlenlp_and_fastdeploy_objects.cpython-37.pyc
│ │ │ │ ├── import_utils.cpython-37.pyc
│ │ │ │ ├── logging.cpython-37.pyc
│ │ │ │ ├── outputs.cpython-37.pyc
│ │ │ │ ├── pil_utils.cpython-37.pyc
│ │ │ │ └── testing_utils.cpython-37.pyc
│ │ │ ├── deprecation_utils.py
│ │ │ ├── dummy_paddle_and_librosa_objects.py
│ │ │ ├── dummy_paddle_and_paddlenlp_and_fastdeploy_objects.py
│ │ │ ├── dummy_paddle_and_paddlenlp_and_k_diffusion_objects.py
│ │ │ ├── dummy_paddle_and_paddlenlp_objects.py
│ │ │ ├── dummy_paddle_and_scipy_objects.py
│ │ │ ├── dummy_paddle_objects.py
│ │ │ ├── import_utils.py
│ │ │ ├── logging.py
│ │ │ ├── outputs.py
│ │ │ ├── pil_utils.py
│ │ │ └── testing_utils.py
│ │ └── version.py
│ ├── requirements.txt
│ └── train_txt2img_control_trainer.py
├── dreambooth
│ ├── README.md
│ ├── train_dreambooth.py
│ └── train_dreambooth_lora.py
├── gradio_demo
│ └── run_gradio.py
├── inference
│ ├── README.md
│ ├── dual_text_and_image_guided_generation-versatile_diffusion.py
│ ├── image_guided_image_inpainting-paint_by_example.py
│ ├── image_inpainting-repaint.py
│ ├── image_to_image_text_guided_generation-alt_diffusion.py
│ ├── image_to_image_text_guided_generation-stable_diffusion.py
│ ├── image_to_image_text_guided_generation-stable_diffusion_2.py
│ ├── image_variation-versatile_diffusion.py
│ ├── super_resolution-latent_diffusion.py
│ ├── text_guided_image_inpainting-stable_diffusion.py
│ ├── text_guided_image_inpainting-stable_diffusion_2.py
│ ├── text_guided_image_upscaling-stable_diffusion_2.py
│ ├── text_to_image_generation-alt_diffusion.py
│ ├── text_to_image_generation-latent_diffusion.py
│ ├── text_to_image_generation-stable_diffusion.py
│ ├── text_to_image_generation-stable_diffusion_2.py
│ ├── text_to_image_generation-stable_diffusion_safe.py
│ ├── text_to_image_generation-unclip.py
│ ├── text_to_image_generation-versatile_diffusion.py
│ ├── text_to_image_generation-vq_diffusion.py
│ ├── unconditional_audio_generation-audio_diffusion.py
│ ├── unconditional_audio_generation-dance_diffusion.py
│ ├── unconditional_image_generation-ddim.py
│ ├── unconditional_image_generation-ddpm.py
│ ├── unconditional_image_generation-latent_diffusion_uncond.py
│ ├── unconditional_image_generation-pndm.py
│ ├── unconditional_image_generation-score_sde_ve.py
│ └── unconditional_image_generation-stochastic_karras_ve.py
├── ppdiffusers
│ ├── __init__.py
│ ├── commands
│ │ ├── __init__.py
│ │ ├── env.py
│ │ └── ppdiffusers_cli.py
│ ├── configuration_utils.py
│ ├── download_utils.py
│ ├── experimental
│ │ ├── README.md
│ │ ├── __init__.py
│ │ └── rl
│ │ │ ├── __init__.py
│ │ │ └── value_guided_sampling.py
│ ├── fastdeploy_utils.py
│ ├── initializer.py
│ ├── loaders.py
│ ├── modeling_paddle_pytorch_utils.py
│ ├── modeling_utils.py
│ ├── models
│ │ ├── __init__.py
│ │ ├── attention.py
│ │ ├── controlnet.py
│ │ ├── cross_attention.py
│ │ ├── ema.py
│ │ ├── embeddings.py
│ │ ├── prior_transformer.py
│ │ ├── resnet.py
│ │ ├── unet_1d.py
│ │ ├── unet_1d_blocks.py
│ │ ├── unet_2d.py
│ │ ├── unet_2d_blocks.py
│ │ ├── unet_2d_condition.py
│ │ └── vae.py
│ ├── optimization.py
│ ├── pipeline_utils.py
│ ├── pipelines
│ │ ├── README.md
│ │ ├── __init__.py
│ │ ├── alt_diffusion
│ │ │ ├── __init__.py
│ │ │ ├── modeling_roberta_series.py
│ │ │ ├── pipeline_alt_diffusion.py
│ │ │ └── pipeline_alt_diffusion_img2img.py
│ │ ├── audio_diffusion
│ │ │ ├── __init__.py
│ │ │ ├── mel.py
│ │ │ └── pipeline_audio_diffusion.py
│ │ ├── dance_diffusion
│ │ │ ├── __init__.py
│ │ │ └── pipeline_dance_diffusion.py
│ │ ├── ddim
│ │ │ ├── __init__.py
│ │ │ └── pipeline_ddim.py
│ │ ├── ddpm
│ │ │ ├── __init__.py
│ │ │ └── pipeline_ddpm.py
│ │ ├── latent_diffusion
│ │ │ ├── __init__.py
│ │ │ ├── pipeline_latent_diffusion.py
│ │ │ └── pipeline_latent_diffusion_superresolution.py
│ │ ├── latent_diffusion_uncond
│ │ │ ├── __init__.py
│ │ │ └── pipeline_latent_diffusion_uncond.py
│ │ ├── paint_by_example
│ │ │ ├── __init__.py
│ │ │ ├── image_encoder.py
│ │ │ └── pipeline_paint_by_example.py
│ │ ├── pndm
│ │ │ ├── __init__.py
│ │ │ └── pipeline_pndm.py
│ │ ├── repaint
│ │ │ ├── __init__.py
│ │ │ └── pipeline_repaint.py
│ │ ├── score_sde_ve
│ │ │ ├── __init__.py
│ │ │ └── pipeline_score_sde_ve.py
│ │ ├── stable_diffusion
│ │ │ ├── __init__.py
│ │ │ ├── pipeline_cycle_diffusion.py
│ │ │ ├── pipeline_fastdeploy_cycle_diffusion.py
│ │ │ ├── pipeline_fastdeploy_stable_diffusion.py
│ │ │ ├── pipeline_fastdeploy_stable_diffusion_img2img.py
│ │ │ ├── pipeline_fastdeploy_stable_diffusion_inpaint.py
│ │ │ ├── pipeline_fastdeploy_stable_diffusion_inpaint_legacy.py
│ │ │ ├── pipeline_fastdeploy_stable_diffusion_mega.py
│ │ │ ├── pipeline_stable_diffusion.py
│ │ │ ├── pipeline_stable_diffusion_all_in_one.py
│ │ │ ├── pipeline_stable_diffusion_controlnet.py
│ │ │ ├── pipeline_stable_diffusion_depth2img.py
│ │ │ ├── pipeline_stable_diffusion_image_variation.py
│ │ │ ├── pipeline_stable_diffusion_img2img.py
│ │ │ ├── pipeline_stable_diffusion_inpaint.py
│ │ │ ├── pipeline_stable_diffusion_inpaint_legacy.py
│ │ │ ├── pipeline_stable_diffusion_k_diffusion.py
│ │ │ ├── pipeline_stable_diffusion_mega.py
│ │ │ ├── pipeline_stable_diffusion_upscale.py
│ │ │ └── safety_checker.py
│ │ ├── stable_diffusion_safe
│ │ │ ├── __init__.py
│ │ │ ├── pipeline_stable_diffusion_safe.py
│ │ │ └── safety_checker.py
│ │ ├── stochastic_karras_ve
│ │ │ ├── __init__.py
│ │ │ └── pipeline_stochastic_karras_ve.py
│ │ ├── unclip
│ │ │ ├── __init__.py
│ │ │ ├── pipeline_unclip.py
│ │ │ └── text_proj.py
│ │ ├── versatile_diffusion
│ │ │ ├── __init__.py
│ │ │ ├── modeling_text_unet.py
│ │ │ ├── pipeline_versatile_diffusion.py
│ │ │ ├── pipeline_versatile_diffusion_dual_guided.py
│ │ │ ├── pipeline_versatile_diffusion_image_variation.py
│ │ │ └── pipeline_versatile_diffusion_text_to_image.py
│ │ └── vq_diffusion
│ │ │ ├── __init__.py
│ │ │ └── pipeline_vq_diffusion.py
│ ├── ppnlp_patch_utils.py
│ ├── schedulers
│ │ ├── __init__.py
│ │ ├── preconfig
│ │ │ ├── __init__.py
│ │ │ ├── preconfig_scheduling_euler_ancestral_discrete.py
│ │ │ └── preconfig_scheduling_lms_discrete.py
│ │ ├── scheduling_ddim.py
│ │ ├── scheduling_ddpm.py
│ │ ├── scheduling_dpmsolver_multistep.py
│ │ ├── scheduling_dpmsolver_singlestep.py
│ │ ├── scheduling_euler_ancestral_discrete.py
│ │ ├── scheduling_euler_discrete.py
│ │ ├── scheduling_heun_discrete.py
│ │ ├── scheduling_ipndm.py
│ │ ├── scheduling_k_dpm_2_ancestral_discrete.py
│ │ ├── scheduling_k_dpm_2_discrete.py
│ │ ├── scheduling_karras_ve.py
│ │ ├── scheduling_lms_discrete.py
│ │ ├── scheduling_pndm.py
│ │ ├── scheduling_repaint.py
│ │ ├── scheduling_sde_ve.py
│ │ ├── scheduling_sde_vp.py
│ │ ├── scheduling_unclip.py
│ │ ├── scheduling_utils.py
│ │ └── scheduling_vq_diffusion.py
│ ├── training_utils.py
│ ├── utils
│ │ ├── __init__.py
│ │ ├── deprecation_utils.py
│ │ ├── dummy_paddle_and_librosa_objects.py
│ │ ├── dummy_paddle_and_paddlenlp_and_fastdeploy_objects.py
│ │ ├── dummy_paddle_and_paddlenlp_and_k_diffusion_objects.py
│ │ ├── dummy_paddle_and_paddlenlp_objects.py
│ │ ├── dummy_paddle_and_scipy_objects.py
│ │ ├── dummy_paddle_objects.py
│ │ ├── import_utils.py
│ │ ├── logging.py
│ │ ├── outputs.py
│ │ ├── pil_utils.py
│ │ └── testing_utils.py
│ └── version.py
├── text_to_image
│ ├── README.md
│ ├── train_text_to_image.py
│ └── train_text_to_image_lora.py
├── text_to_image_laion400m
│ ├── README.md
│ ├── config
│ │ ├── ldmbert.json
│ │ └── unet.json
│ ├── data
│ │ └── filelist
│ │ │ ├── laion400m_en.filelist
│ │ │ ├── train.filelist.list
│ │ │ └── write_filelist.py
│ ├── generate_images.py
│ ├── generate_pipelines.py
│ ├── ldm
│ │ ├── __init__.py
│ │ ├── ldm_args.py
│ │ ├── ldm_trainer.py
│ │ ├── model.py
│ │ └── text_image_pair_dataset.py
│ ├── requirements.txt
│ ├── scripts
│ │ ├── README.md
│ │ ├── convert_orig_ldm_ckpt_to_ppdiffusers.py
│ │ ├── convert_ppdiffusers_to_orig_ldm_ckpt.py
│ │ ├── plot_fid_clip_score.py
│ │ ├── text2img_L12H768_unet800M.yaml
│ │ └── text2img_L32H1280_unet800M.yaml
│ ├── train_txt2img_laion400m_no_trainer.py
│ └── train_txt2img_laion400m_trainer.py
└── textual_inversion
│ ├── README.md
│ └── train_textual_inversion.py
├── fast_launch.py
├── launch.gradio.py
├── launch.py
├── modules
├── .ipynb_checkpoints
│ ├── img2img-checkpoint.py
│ ├── inpaint-checkpoint.py
│ ├── train_dreambooth_lora-checkpoint.py
│ └── txt2img-checkpoint.py
├── __init__.py
├── __pycache__
│ ├── __init__.cpython-37.pyc
│ ├── img2img.cpython-37.pyc
│ ├── inpaint.cpython-37.pyc
│ └── txt2img.cpython-37.pyc
├── helper
│ ├── __init__.py
│ ├── __pycache__
│ │ ├── __init__.cpython-37.pyc
│ │ ├── lora_helper.cpython-37.pyc
│ │ ├── optimizer.cpython-37.pyc
│ │ ├── scheduler.cpython-37.pyc
│ │ └── utils.cpython-37.pyc
│ ├── lora_helper.py
│ ├── optimizer.py
│ ├── scheduler.py
│ └── utils.py
├── img2img.py
├── inpaint.py
├── train_dreambooth_lora.py
└── txt2img.py
├── output
├── lora_Xinhai_test.jpg
├── lora_Xinhai_test_0.jpg
├── lora_Xinhai_test_1.jpg
├── lora_Xinhai_test_2.jpg
├── lora_Xinhai_test_3.jpg
├── lora_Xinhai_test_4.jpg
├── result_img2img_temp.jpg
├── result_inpaint.jpg
├── result_inpaint_temp.jpg
├── result_temp.jpg
└── result_txt2img_temp.jpg
├── pipeline.py
├── pipeline_stable_diffusion_all_in_one.py
├── ppdiffusers.egg-info
├── PKG-INFO
├── SOURCES.txt
├── dependency_links.txt
├── entry_points.txt
├── requires.txt
└── top_level.txt
├── ppdiffusers
├── __init__.py
├── __pycache__
│ ├── __init__.cpython-37.pyc
│ ├── configuration_utils.cpython-37.pyc
│ ├── download_utils.cpython-37.pyc
│ ├── fastdeploy_utils.cpython-37.pyc
│ ├── initializer.cpython-37.pyc
│ ├── loaders.cpython-37.pyc
│ ├── modeling_utils.cpython-37.pyc
│ ├── optimization.cpython-37.pyc
│ ├── pipeline_utils.cpython-37.pyc
│ ├── ppnlp_patch_utils.cpython-37.pyc
│ ├── training_utils.cpython-37.pyc
│ └── version.cpython-37.pyc
├── commands
│ ├── __init__.py
│ ├── env.py
│ └── ppdiffusers_cli.py
├── configuration_utils.py
├── download_utils.py
├── experimental
│ ├── README.md
│ ├── __init__.py
│ └── rl
│ │ ├── __init__.py
│ │ └── value_guided_sampling.py
├── fastdeploy_utils.py
├── initializer.py
├── loaders.py
├── modeling_paddle_pytorch_utils.py
├── modeling_utils.py
├── models
│ ├── __init__.py
│ ├── __pycache__
│ │ ├── __init__.cpython-37.pyc
│ │ ├── attention.cpython-37.pyc
│ │ ├── controlnet.cpython-37.pyc
│ │ ├── cross_attention.cpython-37.pyc
│ │ ├── embeddings.cpython-37.pyc
│ │ ├── prior_transformer.cpython-37.pyc
│ │ ├── resnet.cpython-37.pyc
│ │ ├── unet_1d.cpython-37.pyc
│ │ ├── unet_1d_blocks.cpython-37.pyc
│ │ ├── unet_2d.cpython-37.pyc
│ │ ├── unet_2d_blocks.cpython-37.pyc
│ │ ├── unet_2d_condition.cpython-37.pyc
│ │ └── vae.cpython-37.pyc
│ ├── attention.py
│ ├── controlnet.py
│ ├── cross_attention.py
│ ├── ema.py
│ ├── embeddings.py
│ ├── prior_transformer.py
│ ├── resnet.py
│ ├── unet_1d.py
│ ├── unet_1d_blocks.py
│ ├── unet_2d.py
│ ├── unet_2d_blocks.py
│ ├── unet_2d_condition.py
│ └── vae.py
├── optimization.py
├── pipeline_utils.py
├── pipelines
│ ├── README.md
│ ├── __init__.py
│ ├── __pycache__
│ │ └── __init__.cpython-37.pyc
│ ├── alt_diffusion
│ │ ├── __init__.py
│ │ ├── __pycache__
│ │ │ ├── __init__.cpython-37.pyc
│ │ │ ├── modeling_roberta_series.cpython-37.pyc
│ │ │ ├── pipeline_alt_diffusion.cpython-37.pyc
│ │ │ └── pipeline_alt_diffusion_img2img.cpython-37.pyc
│ │ ├── modeling_roberta_series.py
│ │ ├── pipeline_alt_diffusion.py
│ │ └── pipeline_alt_diffusion_img2img.py
│ ├── audio_diffusion
│ │ ├── __init__.py
│ │ ├── __pycache__
│ │ │ ├── __init__.cpython-37.pyc
│ │ │ ├── mel.cpython-37.pyc
│ │ │ └── pipeline_audio_diffusion.cpython-37.pyc
│ │ ├── mel.py
│ │ └── pipeline_audio_diffusion.py
│ ├── dance_diffusion
│ │ ├── __init__.py
│ │ ├── __pycache__
│ │ │ ├── __init__.cpython-37.pyc
│ │ │ └── pipeline_dance_diffusion.cpython-37.pyc
│ │ └── pipeline_dance_diffusion.py
│ ├── ddim
│ │ ├── __init__.py
│ │ ├── __pycache__
│ │ │ ├── __init__.cpython-37.pyc
│ │ │ └── pipeline_ddim.cpython-37.pyc
│ │ └── pipeline_ddim.py
│ ├── ddpm
│ │ ├── __init__.py
│ │ ├── __pycache__
│ │ │ ├── __init__.cpython-37.pyc
│ │ │ └── pipeline_ddpm.cpython-37.pyc
│ │ └── pipeline_ddpm.py
│ ├── latent_diffusion
│ │ ├── __init__.py
│ │ ├── __pycache__
│ │ │ ├── __init__.cpython-37.pyc
│ │ │ ├── pipeline_latent_diffusion.cpython-37.pyc
│ │ │ └── pipeline_latent_diffusion_superresolution.cpython-37.pyc
│ │ ├── pipeline_latent_diffusion.py
│ │ └── pipeline_latent_diffusion_superresolution.py
│ ├── latent_diffusion_uncond
│ │ ├── __init__.py
│ │ ├── __pycache__
│ │ │ ├── __init__.cpython-37.pyc
│ │ │ └── pipeline_latent_diffusion_uncond.cpython-37.pyc
│ │ └── pipeline_latent_diffusion_uncond.py
│ ├── paint_by_example
│ │ ├── __init__.py
│ │ ├── __pycache__
│ │ │ ├── __init__.cpython-37.pyc
│ │ │ ├── image_encoder.cpython-37.pyc
│ │ │ └── pipeline_paint_by_example.cpython-37.pyc
│ │ ├── image_encoder.py
│ │ └── pipeline_paint_by_example.py
│ ├── pndm
│ │ ├── __init__.py
│ │ ├── __pycache__
│ │ │ ├── __init__.cpython-37.pyc
│ │ │ └── pipeline_pndm.cpython-37.pyc
│ │ └── pipeline_pndm.py
│ ├── repaint
│ │ ├── __init__.py
│ │ ├── __pycache__
│ │ │ ├── __init__.cpython-37.pyc
│ │ │ └── pipeline_repaint.cpython-37.pyc
│ │ └── pipeline_repaint.py
│ ├── score_sde_ve
│ │ ├── __init__.py
│ │ ├── __pycache__
│ │ │ ├── __init__.cpython-37.pyc
│ │ │ └── pipeline_score_sde_ve.cpython-37.pyc
│ │ └── pipeline_score_sde_ve.py
│ ├── stable_diffusion
│ │ ├── __init__.py
│ │ ├── __pycache__
│ │ │ ├── __init__.cpython-37.pyc
│ │ │ ├── pipeline_cycle_diffusion.cpython-37.pyc
│ │ │ ├── pipeline_stable_diffusion.cpython-37.pyc
│ │ │ ├── pipeline_stable_diffusion_all_in_one.cpython-37.pyc
│ │ │ ├── pipeline_stable_diffusion_controlnet.cpython-37.pyc
│ │ │ ├── pipeline_stable_diffusion_depth2img.cpython-37.pyc
│ │ │ ├── pipeline_stable_diffusion_image_variation.cpython-37.pyc
│ │ │ ├── pipeline_stable_diffusion_img2img.cpython-37.pyc
│ │ │ ├── pipeline_stable_diffusion_inpaint.cpython-37.pyc
│ │ │ ├── pipeline_stable_diffusion_inpaint_legacy.cpython-37.pyc
│ │ │ ├── pipeline_stable_diffusion_k_diffusion.cpython-37.pyc
│ │ │ ├── pipeline_stable_diffusion_mega.cpython-37.pyc
│ │ │ ├── pipeline_stable_diffusion_upscale.cpython-37.pyc
│ │ │ └── safety_checker.cpython-37.pyc
│ │ ├── pipeline_cycle_diffusion.py
│ │ ├── pipeline_fastdeploy_cycle_diffusion.py
│ │ ├── pipeline_fastdeploy_stable_diffusion.py
│ │ ├── pipeline_fastdeploy_stable_diffusion_img2img.py
│ │ ├── pipeline_fastdeploy_stable_diffusion_inpaint.py
│ │ ├── pipeline_fastdeploy_stable_diffusion_inpaint_legacy.py
│ │ ├── pipeline_fastdeploy_stable_diffusion_mega.py
│ │ ├── pipeline_stable_diffusion.py
│ │ ├── pipeline_stable_diffusion_all_in_one.py
│ │ ├── pipeline_stable_diffusion_controlnet.py
│ │ ├── pipeline_stable_diffusion_depth2img.py
│ │ ├── pipeline_stable_diffusion_image_variation.py
│ │ ├── pipeline_stable_diffusion_img2img.py
│ │ ├── pipeline_stable_diffusion_inpaint.py
│ │ ├── pipeline_stable_diffusion_inpaint_legacy.py
│ │ ├── pipeline_stable_diffusion_k_diffusion.py
│ │ ├── pipeline_stable_diffusion_mega.py
│ │ ├── pipeline_stable_diffusion_upscale.py
│ │ └── safety_checker.py
│ ├── stable_diffusion_safe
│ │ ├── __init__.py
│ │ ├── __pycache__
│ │ │ ├── __init__.cpython-37.pyc
│ │ │ ├── pipeline_stable_diffusion_safe.cpython-37.pyc
│ │ │ └── safety_checker.cpython-37.pyc
│ │ ├── pipeline_stable_diffusion_safe.py
│ │ └── safety_checker.py
│ ├── stochastic_karras_ve
│ │ ├── __init__.py
│ │ ├── __pycache__
│ │ │ ├── __init__.cpython-37.pyc
│ │ │ └── pipeline_stochastic_karras_ve.cpython-37.pyc
│ │ └── pipeline_stochastic_karras_ve.py
│ ├── unclip
│ │ ├── __init__.py
│ │ ├── __pycache__
│ │ │ ├── __init__.cpython-37.pyc
│ │ │ ├── pipeline_unclip.cpython-37.pyc
│ │ │ └── text_proj.cpython-37.pyc
│ │ ├── pipeline_unclip.py
│ │ └── text_proj.py
│ ├── versatile_diffusion
│ │ ├── __init__.py
│ │ ├── __pycache__
│ │ │ ├── __init__.cpython-37.pyc
│ │ │ ├── modeling_text_unet.cpython-37.pyc
│ │ │ ├── pipeline_versatile_diffusion.cpython-37.pyc
│ │ │ ├── pipeline_versatile_diffusion_dual_guided.cpython-37.pyc
│ │ │ ├── pipeline_versatile_diffusion_image_variation.cpython-37.pyc
│ │ │ └── pipeline_versatile_diffusion_text_to_image.cpython-37.pyc
│ │ ├── modeling_text_unet.py
│ │ ├── pipeline_versatile_diffusion.py
│ │ ├── pipeline_versatile_diffusion_dual_guided.py
│ │ ├── pipeline_versatile_diffusion_image_variation.py
│ │ └── pipeline_versatile_diffusion_text_to_image.py
│ └── vq_diffusion
│ │ ├── __init__.py
│ │ ├── __pycache__
│ │ ├── __init__.cpython-37.pyc
│ │ └── pipeline_vq_diffusion.cpython-37.pyc
│ │ └── pipeline_vq_diffusion.py
├── ppnlp_patch_utils.py
├── schedulers
│ ├── __init__.py
│ ├── __pycache__
│ │ ├── __init__.cpython-37.pyc
│ │ ├── scheduling_ddim.cpython-37.pyc
│ │ ├── scheduling_ddpm.cpython-37.pyc
│ │ ├── scheduling_dpmsolver_multistep.cpython-37.pyc
│ │ ├── scheduling_dpmsolver_singlestep.cpython-37.pyc
│ │ ├── scheduling_euler_ancestral_discrete.cpython-37.pyc
│ │ ├── scheduling_euler_discrete.cpython-37.pyc
│ │ ├── scheduling_heun_discrete.cpython-37.pyc
│ │ ├── scheduling_ipndm.cpython-37.pyc
│ │ ├── scheduling_k_dpm_2_ancestral_discrete.cpython-37.pyc
│ │ ├── scheduling_k_dpm_2_discrete.cpython-37.pyc
│ │ ├── scheduling_karras_ve.cpython-37.pyc
│ │ ├── scheduling_lms_discrete.cpython-37.pyc
│ │ ├── scheduling_pndm.cpython-37.pyc
│ │ ├── scheduling_repaint.cpython-37.pyc
│ │ ├── scheduling_sde_ve.cpython-37.pyc
│ │ ├── scheduling_sde_vp.cpython-37.pyc
│ │ ├── scheduling_unclip.cpython-37.pyc
│ │ ├── scheduling_utils.cpython-37.pyc
│ │ └── scheduling_vq_diffusion.cpython-37.pyc
│ ├── preconfig
│ │ ├── __init__.py
│ │ ├── __pycache__
│ │ │ ├── __init__.cpython-37.pyc
│ │ │ ├── preconfig_scheduling_euler_ancestral_discrete.cpython-37.pyc
│ │ │ └── preconfig_scheduling_lms_discrete.cpython-37.pyc
│ │ ├── preconfig_scheduling_euler_ancestral_discrete.py
│ │ └── preconfig_scheduling_lms_discrete.py
│ ├── scheduling_ddim.py
│ ├── scheduling_ddpm.py
│ ├── scheduling_dpmsolver_multistep.py
│ ├── scheduling_dpmsolver_singlestep.py
│ ├── scheduling_euler_ancestral_discrete.py
│ ├── scheduling_euler_discrete.py
│ ├── scheduling_heun_discrete.py
│ ├── scheduling_ipndm.py
│ ├── scheduling_k_dpm_2_ancestral_discrete.py
│ ├── scheduling_k_dpm_2_discrete.py
│ ├── scheduling_karras_ve.py
│ ├── scheduling_lms_discrete.py
│ ├── scheduling_pndm.py
│ ├── scheduling_repaint.py
│ ├── scheduling_sde_ve.py
│ ├── scheduling_sde_vp.py
│ ├── scheduling_unclip.py
│ ├── scheduling_utils.py
│ └── scheduling_vq_diffusion.py
├── training_utils.py
├── utils
│ ├── __init__.py
│ ├── __pycache__
│ │ ├── __init__.cpython-37.pyc
│ │ ├── deprecation_utils.cpython-37.pyc
│ │ ├── dummy_paddle_and_paddlenlp_and_fastdeploy_objects.cpython-37.pyc
│ │ ├── import_utils.cpython-37.pyc
│ │ ├── logging.cpython-37.pyc
│ │ ├── outputs.cpython-37.pyc
│ │ ├── pil_utils.cpython-37.pyc
│ │ └── testing_utils.cpython-37.pyc
│ ├── deprecation_utils.py
│ ├── dummy_paddle_and_librosa_objects.py
│ ├── dummy_paddle_and_paddlenlp_and_fastdeploy_objects.py
│ ├── dummy_paddle_and_paddlenlp_and_k_diffusion_objects.py
│ ├── dummy_paddle_and_paddlenlp_objects.py
│ ├── dummy_paddle_and_scipy_objects.py
│ ├── dummy_paddle_objects.py
│ ├── import_utils.py
│ ├── logging.py
│ ├── outputs.py
│ ├── pil_utils.py
│ └── testing_utils.py
└── version.py
├── requirements.txt
├── resources
├── clockcat.jpg
└── mask_skirt.jpg
├── scripts
├── convert_diffusers_model
│ ├── README.md
│ ├── convert_diffusers_StableDiffusionImageVariation_to_ppdiffusers.py
│ ├── convert_diffusers_StableDiffusionUpscalePipeline_to_ppdiffusers.py
│ ├── convert_diffusers_VersatileDiffusion_to_ppdiffusers.py
│ ├── convert_diffusers_alt_diffusion_to_ppdiffusers.py
│ ├── convert_diffusers_latent_diffusion_model_to_ppdiffusers.py
│ ├── convert_diffusers_paintbyexample_to_ppdiffusers.py
│ ├── convert_diffusers_stable_diffusion2.0_depth_to_ppdiffusers.py
│ ├── convert_diffusers_stable_diffusion_controlnet_to_ppdiffusers.py
│ ├── convert_diffusers_stable_diffusion_to_ppdiffusers.py
│ ├── convert_diffusers_unclip_to_ppdiffusers.py
│ ├── convert_diffusers_vq_diffusion_to_ppdiffusers.py
│ ├── convert_orig_sd_ckpt_to_ppdiffusers.py
│ ├── convert_orig_stablediffusion2.0_ckpt_to_ppdiffusers.py
│ ├── convert_ppdiffusers_stable_diffusion_to_fastdeploy.py
│ └── requirements.txt
└── fid_clip_score
│ ├── README.md
│ ├── compute_fid_clip_score.py
│ ├── fid_score.py
│ └── inception.py
├── setup.py
├── temp_img.jpg
├── temp_img.png
├── temp_mask_img.png
├── test.py
├── test
├── flagged
│ ├── d101c802cec6a96a2c97e2b4e48a6f71kspymu3.jpg
│ └── d101c802cec6a96a2c97e2b4e48a6f74twn0nk6.jpg
├── test_gradio.py
├── test_gradio1.py
├── test_gradio_uploadfiles.py
└── unzipped
│ ├── miziha6.jpg
│ ├── miziha7.jpg
│ └── miziha8.jpg
├── test_lora_train.py
├── tests
├── __init__.py
├── models
│ ├── __init__.py
│ ├── test_models_unet_1d.py
│ ├── test_models_unet_2d.py
│ ├── test_models_vae.py
│ └── test_models_vq.py
├── pipelines
│ ├── __init__.py
│ ├── altdiffusion
│ │ ├── __init__.py
│ │ ├── test_alt_diffusion.py
│ │ └── test_alt_diffusion_img2img.py
│ ├── audio_diffusion
│ │ ├── __init__.py
│ │ └── test_audio_diffusion.py
│ ├── dance_diffusion
│ │ ├── __init__.py
│ │ └── test_dance_diffusion.py
│ ├── ddim
│ │ ├── __init__.py
│ │ └── test_ddim.py
│ ├── ddpm
│ │ ├── __init__.py
│ │ └── test_ddpm.py
│ ├── karras_ve
│ │ ├── __init__.py
│ │ └── test_karras_ve.py
│ ├── latent_diffusion
│ │ ├── __init__.py
│ │ ├── test_latent_diffusion.py
│ │ ├── test_latent_diffusion_superresolution.py
│ │ └── test_latent_diffusion_uncond.py
│ ├── paint_by_example
│ │ ├── __init__.py
│ │ └── test_paint_by_example.py
│ ├── pndm
│ │ ├── __init__.py
│ │ └── test_pndm.py
│ ├── repaint
│ │ ├── __init__.py
│ │ └── test_repaint.py
│ ├── score_sde_ve
│ │ ├── __init__.py
│ │ └── test_score_sde_ve.py
│ ├── stable_diffusion
│ │ ├── __init__.py
│ │ ├── test_cycle_diffusion.py
│ │ ├── test_fastdeploy_stable_diffusion.py
│ │ ├── test_fastdeploy_stable_diffusion_img2img.py
│ │ ├── test_fastdeploy_stable_diffusion_inpaint.py
│ │ ├── test_fastdeploy_stable_diffusion_inpaint_legacy.py
│ │ ├── test_stable_diffusion.py
│ │ ├── test_stable_diffusion_image_variation.py
│ │ ├── test_stable_diffusion_img2img.py
│ │ ├── test_stable_diffusion_inpaint.py
│ │ ├── test_stable_diffusion_inpaint_legacy.py
│ │ └── test_stable_diffusion_k_diffusion.py
│ ├── stable_diffusion_2
│ │ ├── __init__.py
│ │ ├── test_stable_diffusion.py
│ │ ├── test_stable_diffusion_depth.py
│ │ ├── test_stable_diffusion_inpaint.py
│ │ ├── test_stable_diffusion_upscale.py
│ │ └── test_stable_diffusion_v_pred.py
│ ├── stable_diffusion_safe
│ │ ├── __init__.py
│ │ └── test_safe_diffusion.py
│ ├── unclip
│ │ ├── __init__.py
│ │ └── test_unclip.py
│ ├── versatile_diffusion
│ │ ├── __init__.py
│ │ ├── test_versatile_diffusion_dual_guided.py
│ │ ├── test_versatile_diffusion_image_variation.py
│ │ ├── test_versatile_diffusion_mega.py
│ │ └── test_versatile_diffusion_text_to_image.py
│ └── vq_diffusion
│ │ ├── __init__.py
│ │ └── test_vq_diffusion.py
├── test_config.py
├── test_layers_utils.py
├── test_modeling_common.py
├── test_outputs.py
├── test_pipelines.py
├── test_pipelines_common.py
├── test_pipelines_fastdeploy_common.py
├── test_scheduler.py
├── test_training.py
└── test_utils.py
├── utils.py
└── webui.py
/Makefile:
--------------------------------------------------------------------------------
1 |
2 | .DEFAULT_GOAL := all
3 |
4 | .PHONY: all
5 | all: deploy-version build deploy
6 |
7 | .PHONY: build
8 | build:
9 | python3 setup.py sdist bdist_wheel
10 |
11 | .PHONY: deploy
12 | deploy:
13 | make deploy-version
14 | twine upload --skip-existing dist/*
15 |
16 | .PHONY: deploy-version
17 | deploy-version:
18 | echo "VERSION = '$$(cat VERSION)'" > ppdiffusers/version.py
19 |
20 | .PHONY: install
21 | install:
22 | pip install -r requirements.txt
23 |
24 | .PHONY: version
25 | version:
26 | @newVersion=$$(awk -F. '{print $$1"."$$2"."$$3+1}' < VERSION) \
27 | && echo $${newVersion} > VERSION \
28 | && git add VERSION \
29 | && git commit -m "🔥 update version to $${newVersion}" > /dev/null \
30 | && echo "Bumped version to $${newVersion}"
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # PPdiffusers-webui
2 |
3 | step1:安装环境,gpu版本的paddlepaddle,cuda
4 |
5 | step2:运行launch.py
6 |
7 | 更新日志:
8 |
9 | 2023/2/26:txt2img, img2img
10 |
11 | 2023/2/27:inpaint,优化后端调用模式
12 |
13 | 2023/3/2:lora,paddlenlp版本升级
14 |
15 | 2023/3/18: controlnet
16 |
--------------------------------------------------------------------------------
/VERSION:
--------------------------------------------------------------------------------
1 | 0.11.0
--------------------------------------------------------------------------------
/build/lib/ppdiffusers/experimental/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | # flake8: noqa
16 |
17 | from .rl import ValueGuidedRLPipeline
18 |
--------------------------------------------------------------------------------
/build/lib/ppdiffusers/experimental/rl/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | # flake8: noqa
16 |
17 | from .value_guided_sampling import ValueGuidedRLPipeline
18 |
--------------------------------------------------------------------------------
/build/lib/ppdiffusers/pipelines/audio_diffusion/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | # flake8: noqa
16 | from .mel import Mel
17 | from .pipeline_audio_diffusion import AudioDiffusionPipeline
18 |
--------------------------------------------------------------------------------
/build/lib/ppdiffusers/pipelines/dance_diffusion/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_dance_diffusion import DanceDiffusionPipeline
18 |
--------------------------------------------------------------------------------
/build/lib/ppdiffusers/pipelines/ddim/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_ddim import DDIMPipeline
18 |
--------------------------------------------------------------------------------
/build/lib/ppdiffusers/pipelines/ddpm/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_ddpm import DDPMPipeline
18 |
--------------------------------------------------------------------------------
/build/lib/ppdiffusers/pipelines/latent_diffusion_uncond/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_latent_diffusion_uncond import LDMPipeline
18 |
--------------------------------------------------------------------------------
/build/lib/ppdiffusers/pipelines/pndm/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_pndm import PNDMPipeline
18 |
--------------------------------------------------------------------------------
/build/lib/ppdiffusers/pipelines/repaint/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | # flake8: noqa
16 | from .pipeline_repaint import RePaintPipeline
17 |
--------------------------------------------------------------------------------
/build/lib/ppdiffusers/pipelines/score_sde_ve/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_score_sde_ve import ScoreSdeVePipeline
18 |
--------------------------------------------------------------------------------
/build/lib/ppdiffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_k_diffusion.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | # NOT IMPLEMENT YET!
16 | StableDiffusionKDiffusionPipeline = None
17 |
--------------------------------------------------------------------------------
/build/lib/ppdiffusers/pipelines/stochastic_karras_ve/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_stochastic_karras_ve import KarrasVePipeline
18 |
--------------------------------------------------------------------------------
/build/lib/ppdiffusers/version.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | # this file will be generated by tools
16 | # please not modify it.
17 | VERSION = "0.0.0"
18 |
--------------------------------------------------------------------------------
/build/lib/tests/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/build/lib/tests/models/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/build/lib/tests/pipelines/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/build/lib/tests/pipelines/altdiffusion/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/build/lib/tests/pipelines/audio_diffusion/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/build/lib/tests/pipelines/dance_diffusion/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/build/lib/tests/pipelines/ddim/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/build/lib/tests/pipelines/ddpm/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/build/lib/tests/pipelines/karras_ve/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/build/lib/tests/pipelines/latent_diffusion/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/build/lib/tests/pipelines/paint_by_example/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/build/lib/tests/pipelines/pndm/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/build/lib/tests/pipelines/repaint/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/build/lib/tests/pipelines/score_sde_ve/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/build/lib/tests/pipelines/stable_diffusion/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/build/lib/tests/pipelines/stable_diffusion_2/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/build/lib/tests/pipelines/stable_diffusion_safe/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/build/lib/tests/pipelines/unclip/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/build/lib/tests/pipelines/versatile_diffusion/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/build/lib/tests/pipelines/vq_diffusion/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/dist/ppdiffusers-0.11.0-py3.7.egg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/dist/ppdiffusers-0.11.0-py3.7.egg
--------------------------------------------------------------------------------
/dream_booth_lora_outputs/dream_booth_lora_save_here.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/dream_booth_lora_outputs/dream_booth_lora_save_here.txt
--------------------------------------------------------------------------------
/examples/Stable-CycleDiffusion/README.md:
--------------------------------------------------------------------------------
1 | # Stable-CycleDiffusion
2 |
3 | ## 依赖
4 | ```shell
5 | pip install -r requirements.txt
6 |
7 | # 如果paddlenlp 2.5.1还没有发布,那么需要安装develop版本的paddlenlp
8 | pip install paddlenlp>=2.5.1
9 | ```
10 |
11 | ## 准备images数据
12 | ```shell
13 | wget https://paddlenlp.bj.bcebos.com/models/community/ChenWu98/Stable-CycleDiffusion/images.tar.gz
14 | tar -zxvf images.tar.gz
15 | ```
16 |
17 | ## 使用
18 | ### Gradio
19 | ```shell
20 | python app.py
21 | ```
22 | ### 界面展示
23 |
24 |
25 |
26 |
27 | ## 参考
28 | - https://huggingface.co/spaces/ChenWu98/Stable-CycleDiffusion
29 | - https://arxiv.org/abs/2210.05559
30 |
--------------------------------------------------------------------------------
/examples/Stable-CycleDiffusion/requirements.txt:
--------------------------------------------------------------------------------
1 | paddlenlp>=2.5.1
2 | Pillow
3 | ppdiffusers>=0.11.0
4 | paddlepaddle-gpu
--------------------------------------------------------------------------------
/examples/autoencoder/vae/config/vae.json:
--------------------------------------------------------------------------------
1 | {
2 | "act_fn": "silu",
3 | "block_out_channels": [
4 | 128,
5 | 256,
6 | 512,
7 | 512
8 | ],
9 | "down_block_out_channels": null,
10 | "down_block_types": [
11 | "DownEncoderBlock2D",
12 | "DownEncoderBlock2D",
13 | "DownEncoderBlock2D",
14 | "DownEncoderBlock2D"
15 | ],
16 | "in_channels": 3,
17 | "layers_per_block": 2,
18 | "norm_num_groups": 32,
19 | "out_channels": 3,
20 | "sample_size": 512,
21 | "up_block_out_channels": [
22 | 128,
23 | 256,
24 | 256,
25 | 256,
26 | 512
27 | ],
28 | "latent_channels": 4,
29 | "up_block_types": [
30 | "UpDecoderBlock2D",
31 | "UpDecoderBlock2D",
32 | "UpDecoderBlock2D",
33 | "UpDecoderBlock2D",
34 | "UpDecoderBlock2D"
35 | ]
36 | }
37 |
--------------------------------------------------------------------------------
/examples/autoencoder/vae/data/filelist/laion400m_en.filelist:
--------------------------------------------------------------------------------
1 | /data/laion400m/part-00000.gz
2 | /data/laion400m/part-00001.gz
3 | /data/laion400m/part-00002.gz
4 | /data/laion400m/part-00003.gz
5 | /data/laion400m/part-00004.gz
6 | /data/laion400m/part-00005.gz
7 | /data/laion400m/part-00006.gz
8 | /data/laion400m/part-00007.gz
9 | /data/laion400m/part-00008.gz
10 | /data/laion400m/part-00009.gz
--------------------------------------------------------------------------------
/examples/autoencoder/vae/data/filelist/train.filelist.list:
--------------------------------------------------------------------------------
1 | ./data/filelist/laion400m_en.filelist
2 |
--------------------------------------------------------------------------------
/examples/autoencoder/vae/data/filelist/write_filelist.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | data = []
16 | for index in range(60000):
17 | data.append("/data/laion400m/part-{:05}.gz\n".format(index))
18 |
19 | with open("laion400m_en.filelist", "w") as w:
20 | w.writelines(data)
21 |
--------------------------------------------------------------------------------
/examples/autoencoder/vae/ldm/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 | from .autoencoder_datasets import ImageNetSRTrain, ImageNetSRValidation
15 | from .losses import LPIPS, LPIPSWithDiscriminator
16 | from .model import AutoencoderKLWithLoss
17 | from .text_image_pair import TextImagePair, worker_init_fn
18 |
--------------------------------------------------------------------------------
/examples/autoencoder/vae/ldm/image_degradation/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | from .bsrgan import degradation_bsrgan_variant as degradation_fn_bsr
16 | from .bsrgan_light import degradation_bsrgan_variant as degradation_fn_bsr_light
17 |
--------------------------------------------------------------------------------
/examples/autoencoder/vae/requirements.txt:
--------------------------------------------------------------------------------
1 | paddlenlp>=2.5.0
2 | ppdiffusers>=0.9.0
3 | scipy
4 | pyyaml
5 | opencv-python
6 | albumentations
7 | fastcore
8 | visualdl
9 | Pillow
10 | opencv-python-headless<=4.3
--------------------------------------------------------------------------------
/examples/clip_interrogator/README.md:
--------------------------------------------------------------------------------
1 | # clip-interrogator
2 |
3 | ## 依赖
4 | ```shell
5 | pip install -r requirements.txt
6 |
7 | # 如果paddlenlp 2.5.1还没有发布,那么需要安装develop版本的paddlenlp
8 | pip install paddlenlp>=2.5.1
9 | ```
10 | ## 准备data数据(包含artists.txt、flavors.txt、mediums.txt、movements.txt)
11 | ```shell
12 | wget https://paddlenlp.bj.bcebos.com/models/community/Salesforce/blip-image-captioning-large/data.zip
13 | # 将data文件解压至clip_interrogator目录下
14 | unzip -d clip_interrogator data.zip
15 | ```
16 |
17 | ## 使用
18 | ### 快速开始
19 | ```python
20 | from PIL import Image
21 | from clip_interrogator import Config, Interrogator
22 | image = Image.open(image_path).convert('RGB')
23 | ci = Interrogator(Config(clip_pretrained_model_name_or_path="openai/clip-vit-large-patch14"))
24 | print(ci.interrogate(image))
25 | ```
26 |
27 | ### Gradio
28 | ```shell
29 | python run_gradio.py \
30 | --clip="openai/clip-vit-large-patch14" \
31 | --blip="Salesforce/blip-image-captioning-large" \
32 | --share
33 | ```
34 |
--------------------------------------------------------------------------------
/examples/clip_interrogator/requirements.txt:
--------------------------------------------------------------------------------
1 | paddlenlp>=2.5.1
2 | Pillow
3 | requests
4 | tqdm
5 | paddlepaddle-gpu
6 | fastcore
--------------------------------------------------------------------------------
/examples/controlnet/__pycache__/gradio_pose2image.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/__pycache__/gradio_pose2image.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/annotator/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/annotator/__init__.py
--------------------------------------------------------------------------------
/examples/controlnet/annotator/__pycache__/util.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/annotator/__pycache__/util.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/annotator/_base_/ade20k.yml:
--------------------------------------------------------------------------------
1 | batch_size: 4
2 | iters: 80000
3 |
4 | train_dataset:
5 | type: ADE20K
6 | dataset_root: data/ADEChallengeData2016/
7 | transforms:
8 | - type: ResizeStepScaling
9 | min_scale_factor: 0.5
10 | max_scale_factor: 2.0
11 | scale_step_size: 0.25
12 | - type: RandomPaddingCrop
13 | crop_size: [512, 512]
14 | - type: RandomHorizontalFlip
15 | - type: RandomDistort
16 | brightness_range: 0.4
17 | contrast_range: 0.4
18 | saturation_range: 0.4
19 | - type: Normalize
20 | mode: train
21 |
22 | val_dataset:
23 | type: ADE20K
24 | dataset_root: data/ADEChallengeData2016/
25 | transforms:
26 | - type: Normalize
27 | mode: val
28 |
29 |
30 | optimizer:
31 | type: sgd
32 | momentum: 0.9
33 | weight_decay: 4.0e-5
34 |
35 | lr_scheduler:
36 | type: PolynomialDecay
37 | learning_rate: 0.01
38 | end_lr: 0
39 | power: 0.9
40 |
41 | loss:
42 | types:
43 | - type: CrossEntropyLoss
44 | coef: [1]
45 |
--------------------------------------------------------------------------------
/examples/controlnet/annotator/_base_/cityscapes.yml:
--------------------------------------------------------------------------------
1 | batch_size: 2
2 | iters: 80000
3 |
4 | train_dataset:
5 | type: Cityscapes
6 | dataset_root: data/cityscapes
7 | transforms:
8 | - type: ResizeStepScaling
9 | min_scale_factor: 0.5
10 | max_scale_factor: 2.0
11 | scale_step_size: 0.25
12 | - type: RandomPaddingCrop
13 | crop_size: [1024, 512]
14 | - type: RandomHorizontalFlip
15 | - type: RandomDistort
16 | brightness_range: 0.4
17 | contrast_range: 0.4
18 | saturation_range: 0.4
19 | - type: Normalize
20 | mode: train
21 |
22 | val_dataset:
23 | type: Cityscapes
24 | dataset_root: data/cityscapes
25 | transforms:
26 | - type: Normalize
27 | mode: val
28 |
29 |
30 | optimizer:
31 | type: sgd
32 | momentum: 0.9
33 | weight_decay: 4.0e-5
34 |
35 | lr_scheduler:
36 | type: PolynomialDecay
37 | learning_rate: 0.01
38 | end_lr: 0
39 | power: 0.9
40 |
41 | loss:
42 | types:
43 | - type: CrossEntropyLoss
44 | coef: [1]
45 |
--------------------------------------------------------------------------------
/examples/controlnet/annotator/_base_/cityscapes_1024x1024.yml:
--------------------------------------------------------------------------------
1 | _base_: './cityscapes.yml'
2 |
3 | train_dataset:
4 | transforms:
5 | - type: ResizeStepScaling
6 | min_scale_factor: 0.5
7 | max_scale_factor: 2.0
8 | scale_step_size: 0.25
9 | - type: RandomPaddingCrop
10 | crop_size: [1024, 1024]
11 | - type: RandomHorizontalFlip
12 | - type: RandomDistort
13 | brightness_range: 0.4
14 | contrast_range: 0.4
15 | saturation_range: 0.4
16 | - type: Normalize
17 |
18 | val_dataset:
19 | transforms:
20 | - type: Normalize
21 |
--------------------------------------------------------------------------------
/examples/controlnet/annotator/canny/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2023 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | import cv2
16 |
17 |
18 | class CannyDetector:
19 | def __call__(self, img, low_threshold, high_threshold):
20 | return cv2.Canny(img, low_threshold, high_threshold)
21 |
--------------------------------------------------------------------------------
/examples/controlnet/annotator/openpose/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/annotator/openpose/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/annotator/openpose/__pycache__/util.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/annotator/openpose/__pycache__/util.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/annotator/segformer_paddle/segformer_b5_cityscapes_1024x1024_160k.yml:
--------------------------------------------------------------------------------
1 | _base_: '../_base_/cityscapes_1024x1024.yml'
2 |
3 | batch_size: 1
4 | iters: 160000
5 |
6 | model:
7 | type: SegFormer
8 | backbone:
9 | type: MixVisionTransformer_B5
10 | pretrained: https://bj.bcebos.com/paddleseg/dygraph/backbone/mix_vision_transformer_b5.tar.gz
11 | embedding_dim: 768
12 | num_classes: 19
13 |
14 | optimizer:
15 | _inherited_: False
16 | type: AdamW
17 | beta1: 0.9
18 | beta2: 0.999
19 | weight_decay: 0.01
20 |
21 | lr_scheduler:
22 | type: PolynomialDecay
23 | learning_rate: 0.00006
24 | power: 1
25 |
26 | loss:
27 | types:
28 | - type: CrossEntropyLoss
29 | coef: [1]
30 |
31 | test_config:
32 | is_slide: True
33 | crop_size: [1024, 1024]
34 | stride: [768, 768]
35 |
--------------------------------------------------------------------------------
/examples/controlnet/annotator/segmenter_paddle/segmenter_vit_base_linear_ade20k_512x512_160k.yml:
--------------------------------------------------------------------------------
1 | _base_: '../_base_/ade20k.yml'
2 |
3 | batch_size: 2
4 | iters: 160000
5 |
6 | model:
7 | type: LinearSegmenter
8 | backbone:
9 | type: VisionTransformer
10 | img_size: 512
11 | patch_size: 16
12 | embed_dim: 768
13 | depth: 12
14 | num_heads: 12
15 | mlp_ratio: 4
16 | qkv_bias: True
17 | drop_rate: 0.0
18 | drop_path_rate: 0.1
19 | final_norm: True
20 | pretrained: https://bj.bcebos.com/paddleseg/dygraph/pretrained_models/vit_base_patch16_384_augreg.tar.gz
21 |
22 | val_dataset:
23 | transforms:
24 | - type: ResizeByShort
25 | short_size: 512
26 | - type: Normalize
27 |
28 | optimizer:
29 | weight_decay: 0.0
30 |
31 | lr_scheduler:
32 | learning_rate: 0.001
33 | end_lr: 1.0e-05
34 |
35 | test_config:
36 | is_slide: True
37 | crop_size: [512, 512]
38 | stride: [512, 512]
--------------------------------------------------------------------------------
/examples/controlnet/annotator/segmenter_paddle/segmenter_vit_base_mask_ade20k_512x512_160k.yml:
--------------------------------------------------------------------------------
1 | _base_: './segmenter_vit_base_linear_ade20k_512x512_160k.yml'
2 |
3 | model:
4 | type: MaskSegmenter
5 | h_embed_dim: 768
6 | h_depth: 2
7 | h_num_heads: 12
8 | h_mlp_ratio: 4
9 | h_drop_rate: 0.0
10 | h_drop_path_rate: 0.1
--------------------------------------------------------------------------------
/examples/controlnet/control/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 | # flake8: noqa
15 |
16 | from .control_args import DataArguments, ModelArguments
17 | from .control_trainer import ControlNetTrainer
18 | from .dumpy_dataset import Fill50kDataset
19 | from .model import ControlNet
20 |
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/__pycache__/configuration_utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/__pycache__/configuration_utils.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/__pycache__/download_utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/__pycache__/download_utils.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/__pycache__/fastdeploy_utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/__pycache__/fastdeploy_utils.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/__pycache__/initializer.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/__pycache__/initializer.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/__pycache__/loaders.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/__pycache__/loaders.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/__pycache__/modeling_utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/__pycache__/modeling_utils.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/__pycache__/optimization.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/__pycache__/optimization.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/__pycache__/pipeline_utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/__pycache__/pipeline_utils.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/__pycache__/ppnlp_patch_utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/__pycache__/ppnlp_patch_utils.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/__pycache__/training_utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/__pycache__/training_utils.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/__pycache__/version.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/__pycache__/version.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/experimental/README.md:
--------------------------------------------------------------------------------
1 | # 🧨 PPDiffusers Experimental
2 |
3 | 为了使得**PPDiffusers库**能够有更多的应用场景,我们在这里添加了一些**实验性的代码**。
4 |
5 | 目前我们支持了以下场景:
6 | * Reinforcement learning via an implementation of the [PPDiffuser](https://arxiv.org/abs/2205.09991) model.
7 |
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/experimental/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | # flake8: noqa
16 |
17 | from .rl import ValueGuidedRLPipeline
18 |
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/experimental/rl/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | # flake8: noqa
16 |
17 | from .value_guided_sampling import ValueGuidedRLPipeline
18 |
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/models/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/models/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/models/__pycache__/attention.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/models/__pycache__/attention.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/models/__pycache__/controlnet.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/models/__pycache__/controlnet.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/models/__pycache__/cross_attention.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/models/__pycache__/cross_attention.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/models/__pycache__/embeddings.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/models/__pycache__/embeddings.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/models/__pycache__/prior_transformer.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/models/__pycache__/prior_transformer.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/models/__pycache__/resnet.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/models/__pycache__/resnet.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/models/__pycache__/unet_1d.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/models/__pycache__/unet_1d.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/models/__pycache__/unet_1d_blocks.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/models/__pycache__/unet_1d_blocks.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/models/__pycache__/unet_2d.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/models/__pycache__/unet_2d.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/models/__pycache__/unet_2d_blocks.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/models/__pycache__/unet_2d_blocks.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/models/__pycache__/unet_2d_condition.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/models/__pycache__/unet_2d_condition.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/models/__pycache__/vae.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/models/__pycache__/vae.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/alt_diffusion/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/alt_diffusion/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/alt_diffusion/__pycache__/modeling_roberta_series.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/alt_diffusion/__pycache__/modeling_roberta_series.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/alt_diffusion/__pycache__/pipeline_alt_diffusion.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/alt_diffusion/__pycache__/pipeline_alt_diffusion.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/alt_diffusion/__pycache__/pipeline_alt_diffusion_img2img.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/alt_diffusion/__pycache__/pipeline_alt_diffusion_img2img.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/audio_diffusion/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | # flake8: noqa
16 | from .mel import Mel
17 | from .pipeline_audio_diffusion import AudioDiffusionPipeline
18 |
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/audio_diffusion/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/audio_diffusion/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/audio_diffusion/__pycache__/mel.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/audio_diffusion/__pycache__/mel.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/audio_diffusion/__pycache__/pipeline_audio_diffusion.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/audio_diffusion/__pycache__/pipeline_audio_diffusion.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/dance_diffusion/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_dance_diffusion import DanceDiffusionPipeline
18 |
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/dance_diffusion/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/dance_diffusion/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/dance_diffusion/__pycache__/pipeline_dance_diffusion.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/dance_diffusion/__pycache__/pipeline_dance_diffusion.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/ddim/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_ddim import DDIMPipeline
18 |
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/ddim/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/ddim/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/ddim/__pycache__/pipeline_ddim.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/ddim/__pycache__/pipeline_ddim.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/ddpm/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_ddpm import DDPMPipeline
18 |
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/ddpm/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/ddpm/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/ddpm/__pycache__/pipeline_ddpm.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/ddpm/__pycache__/pipeline_ddpm.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/latent_diffusion/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/latent_diffusion/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/latent_diffusion/__pycache__/pipeline_latent_diffusion.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/latent_diffusion/__pycache__/pipeline_latent_diffusion.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/latent_diffusion/__pycache__/pipeline_latent_diffusion_superresolution.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/latent_diffusion/__pycache__/pipeline_latent_diffusion_superresolution.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/latent_diffusion_uncond/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_latent_diffusion_uncond import LDMPipeline
18 |
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/latent_diffusion_uncond/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/latent_diffusion_uncond/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/latent_diffusion_uncond/__pycache__/pipeline_latent_diffusion_uncond.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/latent_diffusion_uncond/__pycache__/pipeline_latent_diffusion_uncond.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/paint_by_example/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/paint_by_example/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/paint_by_example/__pycache__/image_encoder.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/paint_by_example/__pycache__/image_encoder.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/paint_by_example/__pycache__/pipeline_paint_by_example.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/paint_by_example/__pycache__/pipeline_paint_by_example.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/pndm/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_pndm import PNDMPipeline
18 |
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/pndm/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/pndm/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/pndm/__pycache__/pipeline_pndm.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/pndm/__pycache__/pipeline_pndm.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/repaint/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | # flake8: noqa
16 | from .pipeline_repaint import RePaintPipeline
17 |
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/repaint/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/repaint/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/repaint/__pycache__/pipeline_repaint.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/repaint/__pycache__/pipeline_repaint.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/score_sde_ve/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_score_sde_ve import ScoreSdeVePipeline
18 |
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/score_sde_ve/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/score_sde_ve/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/score_sde_ve/__pycache__/pipeline_score_sde_ve.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/score_sde_ve/__pycache__/pipeline_score_sde_ve.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_cycle_diffusion.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_cycle_diffusion.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_all_in_one.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_all_in_one.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_controlnet.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_controlnet.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_depth2img.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_depth2img.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_image_variation.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_image_variation.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_img2img.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_img2img.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_inpaint.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_inpaint.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_inpaint_legacy.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_inpaint_legacy.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_k_diffusion.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_k_diffusion.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_mega.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_mega.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_upscale.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_upscale.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/safety_checker.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/__pycache__/safety_checker.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_k_diffusion.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | # NOT IMPLEMENT YET!
16 | StableDiffusionKDiffusionPipeline = None
17 |
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/stable_diffusion_safe/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/stable_diffusion_safe/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/stable_diffusion_safe/__pycache__/pipeline_stable_diffusion_safe.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/stable_diffusion_safe/__pycache__/pipeline_stable_diffusion_safe.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/stable_diffusion_safe/__pycache__/safety_checker.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/stable_diffusion_safe/__pycache__/safety_checker.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/stochastic_karras_ve/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_stochastic_karras_ve import KarrasVePipeline
18 |
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/stochastic_karras_ve/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/stochastic_karras_ve/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/stochastic_karras_ve/__pycache__/pipeline_stochastic_karras_ve.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/stochastic_karras_ve/__pycache__/pipeline_stochastic_karras_ve.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/unclip/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/unclip/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/unclip/__pycache__/pipeline_unclip.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/unclip/__pycache__/pipeline_unclip.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/unclip/__pycache__/text_proj.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/unclip/__pycache__/text_proj.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/versatile_diffusion/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/versatile_diffusion/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/versatile_diffusion/__pycache__/modeling_text_unet.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/versatile_diffusion/__pycache__/modeling_text_unet.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/versatile_diffusion/__pycache__/pipeline_versatile_diffusion.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/versatile_diffusion/__pycache__/pipeline_versatile_diffusion.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/versatile_diffusion/__pycache__/pipeline_versatile_diffusion_dual_guided.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/versatile_diffusion/__pycache__/pipeline_versatile_diffusion_dual_guided.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/versatile_diffusion/__pycache__/pipeline_versatile_diffusion_image_variation.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/versatile_diffusion/__pycache__/pipeline_versatile_diffusion_image_variation.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/versatile_diffusion/__pycache__/pipeline_versatile_diffusion_text_to_image.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/versatile_diffusion/__pycache__/pipeline_versatile_diffusion_text_to_image.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/vq_diffusion/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/vq_diffusion/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/pipelines/vq_diffusion/__pycache__/pipeline_vq_diffusion.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/pipelines/vq_diffusion/__pycache__/pipeline_vq_diffusion.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/schedulers/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/schedulers/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_ddim.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_ddim.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_ddpm.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_ddpm.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_dpmsolver_multistep.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_dpmsolver_multistep.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_dpmsolver_singlestep.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_dpmsolver_singlestep.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_euler_ancestral_discrete.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_euler_ancestral_discrete.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_euler_discrete.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_euler_discrete.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_heun_discrete.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_heun_discrete.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_ipndm.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_ipndm.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_k_dpm_2_ancestral_discrete.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_k_dpm_2_ancestral_discrete.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_k_dpm_2_discrete.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_k_dpm_2_discrete.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_karras_ve.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_karras_ve.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_lms_discrete.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_lms_discrete.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_pndm.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_pndm.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_repaint.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_repaint.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_sde_ve.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_sde_ve.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_sde_vp.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_sde_vp.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_unclip.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_unclip.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_utils.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_vq_diffusion.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/schedulers/__pycache__/scheduling_vq_diffusion.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/schedulers/preconfig/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/schedulers/preconfig/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/schedulers/preconfig/__pycache__/preconfig_scheduling_euler_ancestral_discrete.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/schedulers/preconfig/__pycache__/preconfig_scheduling_euler_ancestral_discrete.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/schedulers/preconfig/__pycache__/preconfig_scheduling_lms_discrete.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/schedulers/preconfig/__pycache__/preconfig_scheduling_lms_discrete.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/utils/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/utils/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/utils/__pycache__/deprecation_utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/utils/__pycache__/deprecation_utils.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/utils/__pycache__/dummy_paddle_and_paddlenlp_and_fastdeploy_objects.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/utils/__pycache__/dummy_paddle_and_paddlenlp_and_fastdeploy_objects.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/utils/__pycache__/import_utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/utils/__pycache__/import_utils.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/utils/__pycache__/logging.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/utils/__pycache__/logging.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/utils/__pycache__/outputs.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/utils/__pycache__/outputs.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/utils/__pycache__/pil_utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/utils/__pycache__/pil_utils.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/utils/__pycache__/testing_utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/examples/controlnet/ppdiffusers/utils/__pycache__/testing_utils.cpython-37.pyc
--------------------------------------------------------------------------------
/examples/controlnet/ppdiffusers/version.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | # this file will be generated by tools
16 | # please not modify it.
17 | VERSION = "0.0.0"
18 |
--------------------------------------------------------------------------------
/examples/controlnet/requirements.txt:
--------------------------------------------------------------------------------
1 | paddlehub>=2.3.1
2 | paddleseg>=2.7.0
3 | paddlenlp>=2.5.1
4 | opencv-python
--------------------------------------------------------------------------------
/examples/inference/text_to_image_generation-unclip.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2023 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 | from ppdiffusers import UnCLIPPipeline
15 |
16 | # 加载模型和scheduler
17 | pipe = UnCLIPPipeline.from_pretrained("kakaobrain/karlo-v1-alpha")
18 |
19 | # 执行pipeline进行推理
20 | prompt = "a high-resolution photograph of a big red frog on a green leaf."
21 | image = pipe([prompt]).images[0]
22 |
23 | # 保存图片
24 | image.save("./frog.png")
25 |
--------------------------------------------------------------------------------
/examples/inference/text_to_image_generation-versatile_diffusion.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | from ppdiffusers import VersatileDiffusionTextToImagePipeline
16 |
17 | pipe = VersatileDiffusionTextToImagePipeline.from_pretrained("shi-labs/versatile-diffusion")
18 | pipe.remove_unused_weights()
19 |
20 | image = pipe("an astronaut riding on a horse on mars").images[0]
21 | image.save("versatile-diffusion-astronaut.png")
22 |
--------------------------------------------------------------------------------
/examples/inference/text_to_image_generation-vq_diffusion.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | from ppdiffusers import VQDiffusionPipeline
16 |
17 | pipe = VQDiffusionPipeline.from_pretrained("microsoft/vq-diffusion-ithq")
18 |
19 | output = pipe("teddy bear playing in the pool", truncation_rate=1.0)
20 |
21 | image = output.images[0]
22 | image.save("vq_diffusion_teddy_bear.png")
23 |
--------------------------------------------------------------------------------
/examples/inference/unconditional_image_generation-ddim.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | from ppdiffusers import DDIMPipeline
16 |
17 | # 加载模型和scheduler
18 | pipe = DDIMPipeline.from_pretrained("dboshardy/ddim-butterflies-128")
19 |
20 | # 执行pipeline进行推理
21 | image = pipe(num_inference_steps=25).images[0]
22 |
23 | # 保存图片
24 | image.save("ddim_generated_image.png")
25 |
--------------------------------------------------------------------------------
/examples/inference/unconditional_image_generation-ddpm.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | from ppdiffusers import DDPMPipeline
16 |
17 | # 加载模型和scheduler
18 | pipe = DDPMPipeline.from_pretrained("google/ddpm-celebahq-256")
19 |
20 | # 执行pipeline进行推理
21 | image = pipe().images[0]
22 |
23 | # 保存图片
24 | image.save("ddpm_generated_image.png")
25 |
--------------------------------------------------------------------------------
/examples/inference/unconditional_image_generation-latent_diffusion_uncond.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | from ppdiffusers import LDMPipeline
16 |
17 | # 加载模型和scheduler
18 | pipe = LDMPipeline.from_pretrained("CompVis/ldm-celebahq-256")
19 |
20 | # 执行pipeline进行推理
21 | image = pipe(num_inference_steps=200).images[0]
22 |
23 | # 保存图片
24 | image.save("ldm_generated_image.png")
25 |
--------------------------------------------------------------------------------
/examples/inference/unconditional_image_generation-pndm.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | from ppdiffusers import PNDMPipeline
16 |
17 | # 加载模型和scheduler
18 | pipe = PNDMPipeline.from_pretrained("google/ddpm-celebahq-256")
19 |
20 | # 执行pipeline进行推理
21 | image = pipe(num_inference_steps=1000).images[0]
22 |
23 | # 保存图片
24 | image.save("pndm_generated_image.png")
25 |
--------------------------------------------------------------------------------
/examples/inference/unconditional_image_generation-score_sde_ve.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | from ppdiffusers import ScoreSdeVePipeline
16 |
17 | # 加载模型和scheduler
18 | pipe = ScoreSdeVePipeline.from_pretrained("google/ncsnpp-ffhq-1024")
19 |
20 | # 执行pipeline进行推理
21 | image = pipe().images[0]
22 |
23 | # 保存图片
24 | image.save("sde_ve_generated_image.png")
25 |
--------------------------------------------------------------------------------
/examples/ppdiffusers/experimental/README.md:
--------------------------------------------------------------------------------
1 | # 🧨 PPDiffusers Experimental
2 |
3 | 为了使得**PPDiffusers库**能够有更多的应用场景,我们在这里添加了一些**实验性的代码**。
4 |
5 | 目前我们支持了以下场景:
6 | * Reinforcement learning via an implementation of the [PPDiffuser](https://arxiv.org/abs/2205.09991) model.
7 |
--------------------------------------------------------------------------------
/examples/ppdiffusers/experimental/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | # flake8: noqa
16 |
17 | from .rl import ValueGuidedRLPipeline
18 |
--------------------------------------------------------------------------------
/examples/ppdiffusers/experimental/rl/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | # flake8: noqa
16 |
17 | from .value_guided_sampling import ValueGuidedRLPipeline
18 |
--------------------------------------------------------------------------------
/examples/ppdiffusers/pipelines/audio_diffusion/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | # flake8: noqa
16 | from .mel import Mel
17 | from .pipeline_audio_diffusion import AudioDiffusionPipeline
18 |
--------------------------------------------------------------------------------
/examples/ppdiffusers/pipelines/dance_diffusion/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_dance_diffusion import DanceDiffusionPipeline
18 |
--------------------------------------------------------------------------------
/examples/ppdiffusers/pipelines/ddim/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_ddim import DDIMPipeline
18 |
--------------------------------------------------------------------------------
/examples/ppdiffusers/pipelines/ddpm/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_ddpm import DDPMPipeline
18 |
--------------------------------------------------------------------------------
/examples/ppdiffusers/pipelines/latent_diffusion_uncond/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_latent_diffusion_uncond import LDMPipeline
18 |
--------------------------------------------------------------------------------
/examples/ppdiffusers/pipelines/pndm/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_pndm import PNDMPipeline
18 |
--------------------------------------------------------------------------------
/examples/ppdiffusers/pipelines/repaint/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | # flake8: noqa
16 | from .pipeline_repaint import RePaintPipeline
17 |
--------------------------------------------------------------------------------
/examples/ppdiffusers/pipelines/score_sde_ve/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_score_sde_ve import ScoreSdeVePipeline
18 |
--------------------------------------------------------------------------------
/examples/ppdiffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_k_diffusion.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | # NOT IMPLEMENT YET!
16 | StableDiffusionKDiffusionPipeline = None
17 |
--------------------------------------------------------------------------------
/examples/ppdiffusers/pipelines/stochastic_karras_ve/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_stochastic_karras_ve import KarrasVePipeline
18 |
--------------------------------------------------------------------------------
/examples/ppdiffusers/version.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | # this file will be generated by tools
16 | # please not modify it.
17 | VERSION = "0.0.0"
18 |
--------------------------------------------------------------------------------
/examples/text_to_image_laion400m/config/ldmbert.json:
--------------------------------------------------------------------------------
1 | {
2 | "vocab_size": 30522,
3 | "max_position_embeddings": 77,
4 | "encoder_layers": 32,
5 | "encoder_ffn_dim": 5120,
6 | "encoder_attention_heads": 8,
7 | "head_dim": 64,
8 | "activation_function": "gelu",
9 | "d_model": 1280,
10 | "dropout": 0.0,
11 | "attention_dropout": 0.0,
12 | "activation_dropout": 0.0,
13 | "init_std": 0.02,
14 | "pad_token_id": 0
15 | }
--------------------------------------------------------------------------------
/examples/text_to_image_laion400m/config/unet.json:
--------------------------------------------------------------------------------
1 | {
2 | "act_fn": "silu",
3 | "attention_head_dim": 8,
4 | "block_out_channels": [
5 | 320,
6 | 640,
7 | 1280,
8 | 1280
9 | ],
10 | "center_input_sample": false,
11 | "cross_attention_dim": 1280,
12 | "down_block_types": [
13 | "CrossAttnDownBlock2D",
14 | "CrossAttnDownBlock2D",
15 | "CrossAttnDownBlock2D",
16 | "DownBlock2D"
17 | ],
18 | "downsample_padding": 1,
19 | "flip_sin_to_cos": true,
20 | "freq_shift": 0,
21 | "in_channels": 4,
22 | "layers_per_block": 2,
23 | "mid_block_scale_factor": 1,
24 | "norm_eps": 1e-05,
25 | "norm_num_groups": 32,
26 | "out_channels": 4,
27 | "sample_size": 32,
28 | "up_block_types": [
29 | "UpBlock2D",
30 | "CrossAttnUpBlock2D",
31 | "CrossAttnUpBlock2D",
32 | "CrossAttnUpBlock2D"
33 | ]
34 | }
35 |
--------------------------------------------------------------------------------
/examples/text_to_image_laion400m/data/filelist/laion400m_en.filelist:
--------------------------------------------------------------------------------
1 | /data/laion400m/part-00000.gz
2 | /data/laion400m/part-00001.gz
3 | /data/laion400m/part-00002.gz
4 | /data/laion400m/part-00003.gz
5 | /data/laion400m/part-00004.gz
6 | /data/laion400m/part-00005.gz
7 | /data/laion400m/part-00006.gz
8 | /data/laion400m/part-00007.gz
9 | /data/laion400m/part-00008.gz
10 | /data/laion400m/part-00009.gz
--------------------------------------------------------------------------------
/examples/text_to_image_laion400m/data/filelist/train.filelist.list:
--------------------------------------------------------------------------------
1 | ./data/filelist/laion400m_en.filelist
2 |
--------------------------------------------------------------------------------
/examples/text_to_image_laion400m/data/filelist/write_filelist.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | data = []
16 | for index in range(60000):
17 | data.append("/data/laion400m/part-{:05}.gz\n".format(index))
18 |
19 | with open("laion400m_en.filelist", "w") as w:
20 | w.writelines(data)
21 |
--------------------------------------------------------------------------------
/examples/text_to_image_laion400m/ldm/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 | # flake8: noqa
15 |
16 | from .ldm_args import DataArguments, ModelArguments, NoTrainerTrainingArguments
17 | from .ldm_trainer import LatentDiffusionTrainer
18 | from .model import LatentDiffusionModel
19 | from .text_image_pair_dataset import TextImagePair, worker_init_fn
20 |
--------------------------------------------------------------------------------
/examples/text_to_image_laion400m/requirements.txt:
--------------------------------------------------------------------------------
1 | paddlenlp>=2.4.5
2 | ppdiffusers>=0.6.3
3 | fastcore
4 | visualdl
5 | Pillow
--------------------------------------------------------------------------------
/fast_launch.py:
--------------------------------------------------------------------------------
1 | def start():
2 | import webui
3 | webui.demo.launch(share=True)
4 |
5 | start()
--------------------------------------------------------------------------------
/launch.gradio.py:
--------------------------------------------------------------------------------
1 | def start():
2 | import webui
3 | webui.demo.launch()
4 |
5 | start()
6 |
--------------------------------------------------------------------------------
/modules/.ipynb_checkpoints/txt2img-checkpoint.py:
--------------------------------------------------------------------------------
1 | import utils
2 | from PIL import Image
3 | import random
4 | import os
5 |
6 | # 文生图
7 | def txt2img(model_name, prompt, negative_prompt, sampler, Image_size, guidance_scale, num_inference_steps, seed):
8 |
9 | width, height = utils.get_size(Image_size)
10 | seed = random.randint(0, 2 ** 32) if seed == '-1' else int(seed)
11 |
12 | txt2img = utils.txt2img(
13 | pipe=utils.pipe,
14 | prompt=prompt,
15 | negative_prompt=negative_prompt,
16 | scheduler_name=sampler,
17 | width=width,
18 | height=height,
19 | guidance_scale=float(guidance_scale),
20 | num_inference_steps=min(int(num_inference_steps), 100),
21 | max_embeddings_multiples=3,
22 | enable_parsing=True,
23 | seed=seed)
24 |
25 | save_path = os.path.join("/home/aistudio/PPdiffusers-webui/output", "result_txt2img_temp.jpg")
26 | txt2img.save(save_path)
27 | return Image.open(save_path)
--------------------------------------------------------------------------------
/modules/__init__.py:
--------------------------------------------------------------------------------
1 | from .img2img import img2img
2 | from .txt2img import txt2img
3 | from .inpaint import inpaint
--------------------------------------------------------------------------------
/modules/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/modules/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/modules/__pycache__/img2img.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/modules/__pycache__/img2img.cpython-37.pyc
--------------------------------------------------------------------------------
/modules/__pycache__/inpaint.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/modules/__pycache__/inpaint.cpython-37.pyc
--------------------------------------------------------------------------------
/modules/__pycache__/txt2img.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/modules/__pycache__/txt2img.cpython-37.pyc
--------------------------------------------------------------------------------
/modules/helper/__init__.py:
--------------------------------------------------------------------------------
1 | from .optimizer import Lion
2 | from .scheduler import get_scheduler
3 | from .utils import *
--------------------------------------------------------------------------------
/modules/helper/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/modules/helper/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/modules/helper/__pycache__/lora_helper.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/modules/helper/__pycache__/lora_helper.cpython-37.pyc
--------------------------------------------------------------------------------
/modules/helper/__pycache__/optimizer.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/modules/helper/__pycache__/optimizer.cpython-37.pyc
--------------------------------------------------------------------------------
/modules/helper/__pycache__/scheduler.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/modules/helper/__pycache__/scheduler.cpython-37.pyc
--------------------------------------------------------------------------------
/modules/helper/__pycache__/utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/modules/helper/__pycache__/utils.cpython-37.pyc
--------------------------------------------------------------------------------
/modules/txt2img.py:
--------------------------------------------------------------------------------
1 | import utils
2 | from PIL import Image
3 | import random
4 | import os
5 |
6 | # 文生图
7 | def txt2img(model_name, prompt, negative_prompt, sampler, Image_size, guidance_scale, num_inference_steps, seed):
8 |
9 | width, height = utils.get_size(Image_size)
10 | seed = random.randint(0, 2 ** 32) if seed == '-1' else int(seed)
11 |
12 | txt2img = utils.txt2img(
13 | pipe=utils.pipe,
14 | prompt=prompt,
15 | negative_prompt=negative_prompt,
16 | scheduler_name=sampler,
17 | width=width,
18 | height=height,
19 | guidance_scale=float(guidance_scale),
20 | num_inference_steps=min(int(num_inference_steps), 100),
21 | max_embeddings_multiples=3,
22 | enable_parsing=True,
23 | seed=seed)
24 |
25 | save_path = os.path.join("/home/aistudio/PPdiffusers-webui/output", "result_txt2img_temp.jpg")
26 | txt2img.save(save_path)
27 | return Image.open(save_path)
--------------------------------------------------------------------------------
/output/lora_Xinhai_test.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/output/lora_Xinhai_test.jpg
--------------------------------------------------------------------------------
/output/lora_Xinhai_test_0.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/output/lora_Xinhai_test_0.jpg
--------------------------------------------------------------------------------
/output/lora_Xinhai_test_1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/output/lora_Xinhai_test_1.jpg
--------------------------------------------------------------------------------
/output/lora_Xinhai_test_2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/output/lora_Xinhai_test_2.jpg
--------------------------------------------------------------------------------
/output/lora_Xinhai_test_3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/output/lora_Xinhai_test_3.jpg
--------------------------------------------------------------------------------
/output/lora_Xinhai_test_4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/output/lora_Xinhai_test_4.jpg
--------------------------------------------------------------------------------
/output/result_img2img_temp.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/output/result_img2img_temp.jpg
--------------------------------------------------------------------------------
/output/result_inpaint.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/output/result_inpaint.jpg
--------------------------------------------------------------------------------
/output/result_inpaint_temp.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/output/result_inpaint_temp.jpg
--------------------------------------------------------------------------------
/output/result_temp.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/output/result_temp.jpg
--------------------------------------------------------------------------------
/output/result_txt2img_temp.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/output/result_txt2img_temp.jpg
--------------------------------------------------------------------------------
/ppdiffusers.egg-info/dependency_links.txt:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/ppdiffusers.egg-info/entry_points.txt:
--------------------------------------------------------------------------------
1 | [console_scripts]
2 | ppdiffusers-cli = ppdiffusers.commands.ppdiffusers_cli:main
3 |
4 |
--------------------------------------------------------------------------------
/ppdiffusers.egg-info/requires.txt:
--------------------------------------------------------------------------------
1 | paddlenlp>=2.5.0
2 | ftfy
3 | regex
4 | Pillow
5 |
--------------------------------------------------------------------------------
/ppdiffusers.egg-info/top_level.txt:
--------------------------------------------------------------------------------
1 | ppdiffusers
2 | tests
3 |
--------------------------------------------------------------------------------
/ppdiffusers/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/__pycache__/configuration_utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/__pycache__/configuration_utils.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/__pycache__/download_utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/__pycache__/download_utils.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/__pycache__/fastdeploy_utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/__pycache__/fastdeploy_utils.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/__pycache__/initializer.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/__pycache__/initializer.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/__pycache__/loaders.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/__pycache__/loaders.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/__pycache__/modeling_utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/__pycache__/modeling_utils.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/__pycache__/optimization.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/__pycache__/optimization.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/__pycache__/pipeline_utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/__pycache__/pipeline_utils.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/__pycache__/ppnlp_patch_utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/__pycache__/ppnlp_patch_utils.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/__pycache__/training_utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/__pycache__/training_utils.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/__pycache__/version.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/__pycache__/version.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/experimental/README.md:
--------------------------------------------------------------------------------
1 | # 🧨 PPDiffusers Experimental
2 |
3 | 为了使得**PPDiffusers库**能够有更多的应用场景,我们在这里添加了一些**实验性的代码**。
4 |
5 | 目前我们支持了以下场景:
6 | * Reinforcement learning via an implementation of the [PPDiffuser](https://arxiv.org/abs/2205.09991) model.
7 |
--------------------------------------------------------------------------------
/ppdiffusers/experimental/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | # flake8: noqa
16 |
17 | from .rl import ValueGuidedRLPipeline
18 |
--------------------------------------------------------------------------------
/ppdiffusers/experimental/rl/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | # flake8: noqa
16 |
17 | from .value_guided_sampling import ValueGuidedRLPipeline
18 |
--------------------------------------------------------------------------------
/ppdiffusers/models/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/models/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/models/__pycache__/attention.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/models/__pycache__/attention.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/models/__pycache__/controlnet.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/models/__pycache__/controlnet.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/models/__pycache__/cross_attention.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/models/__pycache__/cross_attention.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/models/__pycache__/embeddings.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/models/__pycache__/embeddings.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/models/__pycache__/prior_transformer.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/models/__pycache__/prior_transformer.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/models/__pycache__/resnet.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/models/__pycache__/resnet.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/models/__pycache__/unet_1d.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/models/__pycache__/unet_1d.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/models/__pycache__/unet_1d_blocks.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/models/__pycache__/unet_1d_blocks.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/models/__pycache__/unet_2d.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/models/__pycache__/unet_2d.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/models/__pycache__/unet_2d_blocks.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/models/__pycache__/unet_2d_blocks.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/models/__pycache__/unet_2d_condition.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/models/__pycache__/unet_2d_condition.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/models/__pycache__/vae.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/models/__pycache__/vae.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/alt_diffusion/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/alt_diffusion/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/alt_diffusion/__pycache__/modeling_roberta_series.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/alt_diffusion/__pycache__/modeling_roberta_series.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/alt_diffusion/__pycache__/pipeline_alt_diffusion.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/alt_diffusion/__pycache__/pipeline_alt_diffusion.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/alt_diffusion/__pycache__/pipeline_alt_diffusion_img2img.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/alt_diffusion/__pycache__/pipeline_alt_diffusion_img2img.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/audio_diffusion/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | # flake8: noqa
16 | from .mel import Mel
17 | from .pipeline_audio_diffusion import AudioDiffusionPipeline
18 |
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/audio_diffusion/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/audio_diffusion/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/audio_diffusion/__pycache__/mel.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/audio_diffusion/__pycache__/mel.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/audio_diffusion/__pycache__/pipeline_audio_diffusion.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/audio_diffusion/__pycache__/pipeline_audio_diffusion.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/dance_diffusion/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_dance_diffusion import DanceDiffusionPipeline
18 |
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/dance_diffusion/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/dance_diffusion/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/dance_diffusion/__pycache__/pipeline_dance_diffusion.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/dance_diffusion/__pycache__/pipeline_dance_diffusion.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/ddim/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_ddim import DDIMPipeline
18 |
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/ddim/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/ddim/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/ddim/__pycache__/pipeline_ddim.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/ddim/__pycache__/pipeline_ddim.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/ddpm/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_ddpm import DDPMPipeline
18 |
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/ddpm/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/ddpm/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/ddpm/__pycache__/pipeline_ddpm.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/ddpm/__pycache__/pipeline_ddpm.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/latent_diffusion/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from ...utils import is_paddlenlp_available
18 | from .pipeline_latent_diffusion_superresolution import LDMSuperResolutionPipeline
19 |
20 | if is_paddlenlp_available():
21 | from .pipeline_latent_diffusion import LDMBertModel, LDMTextToImagePipeline
22 |
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/latent_diffusion/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/latent_diffusion/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/latent_diffusion/__pycache__/pipeline_latent_diffusion.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/latent_diffusion/__pycache__/pipeline_latent_diffusion.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/latent_diffusion/__pycache__/pipeline_latent_diffusion_superresolution.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/latent_diffusion/__pycache__/pipeline_latent_diffusion_superresolution.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/latent_diffusion_uncond/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_latent_diffusion_uncond import LDMPipeline
18 |
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/latent_diffusion_uncond/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/latent_diffusion_uncond/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/latent_diffusion_uncond/__pycache__/pipeline_latent_diffusion_uncond.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/latent_diffusion_uncond/__pycache__/pipeline_latent_diffusion_uncond.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/paint_by_example/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/paint_by_example/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/paint_by_example/__pycache__/image_encoder.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/paint_by_example/__pycache__/image_encoder.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/paint_by_example/__pycache__/pipeline_paint_by_example.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/paint_by_example/__pycache__/pipeline_paint_by_example.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/pndm/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_pndm import PNDMPipeline
18 |
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/pndm/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/pndm/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/pndm/__pycache__/pipeline_pndm.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/pndm/__pycache__/pipeline_pndm.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/repaint/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | # flake8: noqa
16 | from .pipeline_repaint import RePaintPipeline
17 |
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/repaint/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/repaint/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/repaint/__pycache__/pipeline_repaint.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/repaint/__pycache__/pipeline_repaint.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/score_sde_ve/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_score_sde_ve import ScoreSdeVePipeline
18 |
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/score_sde_ve/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/score_sde_ve/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/score_sde_ve/__pycache__/pipeline_score_sde_ve.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/score_sde_ve/__pycache__/pipeline_score_sde_ve.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/stable_diffusion/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/stable_diffusion/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_cycle_diffusion.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_cycle_diffusion.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_all_in_one.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_all_in_one.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_controlnet.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_controlnet.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_depth2img.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_depth2img.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_image_variation.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_image_variation.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_img2img.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_img2img.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_inpaint.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_inpaint.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_inpaint_legacy.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_inpaint_legacy.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_k_diffusion.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_k_diffusion.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_mega.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_mega.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_upscale.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/stable_diffusion/__pycache__/pipeline_stable_diffusion_upscale.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/stable_diffusion/__pycache__/safety_checker.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/stable_diffusion/__pycache__/safety_checker.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_k_diffusion.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | # NOT IMPLEMENT YET!
16 | StableDiffusionKDiffusionPipeline = None
17 |
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/stable_diffusion_safe/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/stable_diffusion_safe/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/stable_diffusion_safe/__pycache__/pipeline_stable_diffusion_safe.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/stable_diffusion_safe/__pycache__/pipeline_stable_diffusion_safe.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/stable_diffusion_safe/__pycache__/safety_checker.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/stable_diffusion_safe/__pycache__/safety_checker.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/stochastic_karras_ve/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | # Copyright 2022 The HuggingFace Team. All rights reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # flake8: noqa
17 | from .pipeline_stochastic_karras_ve import KarrasVePipeline
18 |
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/stochastic_karras_ve/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/stochastic_karras_ve/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/stochastic_karras_ve/__pycache__/pipeline_stochastic_karras_ve.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/stochastic_karras_ve/__pycache__/pipeline_stochastic_karras_ve.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/unclip/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/unclip/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/unclip/__pycache__/pipeline_unclip.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/unclip/__pycache__/pipeline_unclip.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/unclip/__pycache__/text_proj.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/unclip/__pycache__/text_proj.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/versatile_diffusion/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/versatile_diffusion/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/versatile_diffusion/__pycache__/modeling_text_unet.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/versatile_diffusion/__pycache__/modeling_text_unet.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/versatile_diffusion/__pycache__/pipeline_versatile_diffusion.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/versatile_diffusion/__pycache__/pipeline_versatile_diffusion.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/versatile_diffusion/__pycache__/pipeline_versatile_diffusion_dual_guided.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/versatile_diffusion/__pycache__/pipeline_versatile_diffusion_dual_guided.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/versatile_diffusion/__pycache__/pipeline_versatile_diffusion_image_variation.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/versatile_diffusion/__pycache__/pipeline_versatile_diffusion_image_variation.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/versatile_diffusion/__pycache__/pipeline_versatile_diffusion_text_to_image.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/versatile_diffusion/__pycache__/pipeline_versatile_diffusion_text_to_image.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/vq_diffusion/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/vq_diffusion/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/pipelines/vq_diffusion/__pycache__/pipeline_vq_diffusion.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/pipelines/vq_diffusion/__pycache__/pipeline_vq_diffusion.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/schedulers/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/schedulers/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/schedulers/__pycache__/scheduling_ddim.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/schedulers/__pycache__/scheduling_ddim.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/schedulers/__pycache__/scheduling_ddpm.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/schedulers/__pycache__/scheduling_ddpm.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/schedulers/__pycache__/scheduling_dpmsolver_multistep.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/schedulers/__pycache__/scheduling_dpmsolver_multistep.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/schedulers/__pycache__/scheduling_dpmsolver_singlestep.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/schedulers/__pycache__/scheduling_dpmsolver_singlestep.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/schedulers/__pycache__/scheduling_euler_ancestral_discrete.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/schedulers/__pycache__/scheduling_euler_ancestral_discrete.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/schedulers/__pycache__/scheduling_euler_discrete.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/schedulers/__pycache__/scheduling_euler_discrete.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/schedulers/__pycache__/scheduling_heun_discrete.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/schedulers/__pycache__/scheduling_heun_discrete.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/schedulers/__pycache__/scheduling_ipndm.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/schedulers/__pycache__/scheduling_ipndm.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/schedulers/__pycache__/scheduling_k_dpm_2_ancestral_discrete.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/schedulers/__pycache__/scheduling_k_dpm_2_ancestral_discrete.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/schedulers/__pycache__/scheduling_k_dpm_2_discrete.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/schedulers/__pycache__/scheduling_k_dpm_2_discrete.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/schedulers/__pycache__/scheduling_karras_ve.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/schedulers/__pycache__/scheduling_karras_ve.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/schedulers/__pycache__/scheduling_lms_discrete.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/schedulers/__pycache__/scheduling_lms_discrete.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/schedulers/__pycache__/scheduling_pndm.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/schedulers/__pycache__/scheduling_pndm.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/schedulers/__pycache__/scheduling_repaint.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/schedulers/__pycache__/scheduling_repaint.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/schedulers/__pycache__/scheduling_sde_ve.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/schedulers/__pycache__/scheduling_sde_ve.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/schedulers/__pycache__/scheduling_sde_vp.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/schedulers/__pycache__/scheduling_sde_vp.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/schedulers/__pycache__/scheduling_unclip.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/schedulers/__pycache__/scheduling_unclip.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/schedulers/__pycache__/scheduling_utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/schedulers/__pycache__/scheduling_utils.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/schedulers/__pycache__/scheduling_vq_diffusion.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/schedulers/__pycache__/scheduling_vq_diffusion.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/schedulers/preconfig/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/schedulers/preconfig/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/schedulers/preconfig/__pycache__/preconfig_scheduling_euler_ancestral_discrete.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/schedulers/preconfig/__pycache__/preconfig_scheduling_euler_ancestral_discrete.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/schedulers/preconfig/__pycache__/preconfig_scheduling_lms_discrete.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/schedulers/preconfig/__pycache__/preconfig_scheduling_lms_discrete.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/utils/__pycache__/__init__.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/utils/__pycache__/__init__.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/utils/__pycache__/deprecation_utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/utils/__pycache__/deprecation_utils.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/utils/__pycache__/dummy_paddle_and_paddlenlp_and_fastdeploy_objects.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/utils/__pycache__/dummy_paddle_and_paddlenlp_and_fastdeploy_objects.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/utils/__pycache__/import_utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/utils/__pycache__/import_utils.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/utils/__pycache__/logging.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/utils/__pycache__/logging.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/utils/__pycache__/outputs.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/utils/__pycache__/outputs.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/utils/__pycache__/pil_utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/utils/__pycache__/pil_utils.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/utils/__pycache__/testing_utils.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/ppdiffusers/utils/__pycache__/testing_utils.cpython-37.pyc
--------------------------------------------------------------------------------
/ppdiffusers/version.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | # this file will be generated by tools
16 | # please not modify it.
17 | VERSION = "0.0.0"
18 |
--------------------------------------------------------------------------------
/requirements.txt:
--------------------------------------------------------------------------------
1 | paddlenlp>=2.5.0
2 | ftfy
3 | regex
4 | Pillow
--------------------------------------------------------------------------------
/resources/clockcat.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/resources/clockcat.jpg
--------------------------------------------------------------------------------
/resources/mask_skirt.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/resources/mask_skirt.jpg
--------------------------------------------------------------------------------
/scripts/convert_diffusers_model/requirements.txt:
--------------------------------------------------------------------------------
1 | ppdiffusers>0.9.0
2 | paddlenlp>=2.5.0
3 | paddlepaddle-gpu
4 | torch
5 | diffusers
6 | transformers
7 | omegaconf
--------------------------------------------------------------------------------
/temp_img.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/temp_img.jpg
--------------------------------------------------------------------------------
/temp_img.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/temp_img.png
--------------------------------------------------------------------------------
/temp_mask_img.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/temp_mask_img.png
--------------------------------------------------------------------------------
/test/flagged/d101c802cec6a96a2c97e2b4e48a6f71kspymu3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/test/flagged/d101c802cec6a96a2c97e2b4e48a6f71kspymu3.jpg
--------------------------------------------------------------------------------
/test/flagged/d101c802cec6a96a2c97e2b4e48a6f74twn0nk6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/test/flagged/d101c802cec6a96a2c97e2b4e48a6f74twn0nk6.jpg
--------------------------------------------------------------------------------
/test/test_gradio.py:
--------------------------------------------------------------------------------
1 | import gradio as gr
2 |
3 | def sentence_builder(quantity, animal, place, activity_list, morning):
4 | return f"""The {quantity} {animal}s went to the {place} where they {" and ".join(activity_list)} until the {"morning" if morning else "night"}"""
5 |
6 |
7 | demo = gr.Interface(
8 | sentence_builder,
9 | [
10 | gr.Slider(2, 20, value=4),
11 | gr.Dropdown(["cat", "dog", "bird"]),
12 | gr.Radio(["park", "zoo", "road"]),
13 | gr.Dropdown(["ran", "swam", "ate", "slept"], value=["swam", "slept"], multiselect=True),
14 | gr.Checkbox(label="Is it the morning?"),
15 | ],
16 | "text",
17 | examples=[
18 | [2, "cat", "park", ["ran", "swam"], True],
19 | [4, "dog", "zoo", ["ate", "swam"], False],
20 | [10, "bird", "road", ["ran"], False],
21 | [8, "cat", "zoo", ["ate"], True],
22 | ],
23 | )
24 |
25 | if __name__ == "__main__":
26 | demo.launch()
--------------------------------------------------------------------------------
/test/test_gradio1.py:
--------------------------------------------------------------------------------
1 | import gradio as gr
2 | import zipfile
3 | import os
4 |
5 | def unzip_file(zip_file):
6 | os.makedirs("unzipped", exist_ok=True)
7 | with zipfile.ZipFile(zip_file) as zip_ref:
8 | zip_ref.extractall('./unzipped')
9 |
10 | def process_zip_file(zip_file):
11 | unzip_file(zip_file.name)
12 | # 在这里添加您的处理代码
13 | return "文件已解压并处理完成。"
14 |
15 | with gr.Blocks() as demo:
16 | file_upload = gr.File()
17 | output_text = gr.Textbox()
18 |
19 | inpaint_button = gr.Button("生成")
20 |
21 | inpaint_button.click(
22 | fn=process_zip_file,
23 | inputs=file_upload,
24 | outputs=output_text)
25 |
26 | demo.launch()
--------------------------------------------------------------------------------
/test/test_gradio_uploadfiles.py:
--------------------------------------------------------------------------------
1 | import gradio as gr
2 | import zipfile
3 |
4 | def unzip_file(zip_file):
5 | with zipfile.ZipFile(zip_file) as zip_ref:
6 | zip_ref.extractall('./unzipped')
7 |
8 | def process_zip_file(zip_file):
9 | unzip_file(zip_file.name)
10 | # 在这里添加您的处理代码
11 | return "文件已解压并处理完成。"
12 |
13 | file_upload = gr.inputs.File(label="上传.zip文件")
14 | output_text = gr.outputs.Textbox()
15 |
16 | gr.Interface(
17 | process_zip_file,
18 | inputs=file_upload,
19 | outputs=output_text,
20 | title="上传和处理.zip文件",
21 | description="上传并处理.zip文件",
22 | ).launch()
--------------------------------------------------------------------------------
/test/unzipped/miziha6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/test/unzipped/miziha6.jpg
--------------------------------------------------------------------------------
/test/unzipped/miziha7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/test/unzipped/miziha7.jpg
--------------------------------------------------------------------------------
/test/unzipped/miziha8.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tensorfly-gpu/PPdiffusers-webui/e9aac64ae1d20d4080cf752c2ac19b3997902c65/test/unzipped/miziha8.jpg
--------------------------------------------------------------------------------
/test_lora_train.py:
--------------------------------------------------------------------------------
1 | import os
2 |
3 | os.system('python modules/train_dreambooth_lora.py\
4 | --pretrained_model_name_or_path= "Baitian/momocha" \
5 | --instance_data_dir="./Xinhai" \
6 | --output_dir="./dream_booth_lora_outputs" \
7 | --instance_prompt="Xinhai" \
8 | --resolution=512 \
9 | --train_batch_size=1 \
10 | --gradient_accumulation_steps=1 \
11 | --checkpointing_steps=100 \
12 | --learning_rate=1e-4 \
13 | --report_to="visualdl" \
14 | --lr_scheduler="constant" \
15 | --lr_warmup_steps=0 \
16 | --max_train_steps=5000 \
17 | --lora_rank=128 \
18 | --validation_prompt="Xinhai" \
19 | --validation_epochs=25 \
20 | --validation_guidance_scale=5.0 \
21 | --use_lion False \
22 | --seed=0')
--------------------------------------------------------------------------------
/tests/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/tests/models/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/tests/pipelines/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/tests/pipelines/altdiffusion/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/tests/pipelines/audio_diffusion/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/tests/pipelines/dance_diffusion/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/tests/pipelines/ddim/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/tests/pipelines/ddpm/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/tests/pipelines/karras_ve/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/tests/pipelines/latent_diffusion/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/tests/pipelines/paint_by_example/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/tests/pipelines/pndm/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/tests/pipelines/repaint/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/tests/pipelines/score_sde_ve/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/tests/pipelines/stable_diffusion/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/tests/pipelines/stable_diffusion_2/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/tests/pipelines/stable_diffusion_safe/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/tests/pipelines/unclip/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/tests/pipelines/versatile_diffusion/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/tests/pipelines/vq_diffusion/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------