stable-diffusion-webui
72 строки · 1.9 Кб
1model:2base_learning_rate: 1.0e-043target: ldm.models.diffusion.ddpm.LatentDiffusion4params:5linear_start: 0.000856linear_end: 0.01207num_timesteps_cond: 18log_every_t: 2009timesteps: 100010first_stage_key: "jpg"11cond_stage_key: "txt"12image_size: 6413channels: 414cond_stage_trainable: false # Note: different from the one we trained before15conditioning_key: crossattn16monitor: val/loss_simple_ema17scale_factor: 0.1821518use_ema: False19
20scheduler_config: # 10000 warmup steps21target: ldm.lr_scheduler.LambdaLinearScheduler22params:23warm_up_steps: [ 10000 ]24cycle_lengths: [ 10000000000000 ] # incredibly large number to prevent corner cases25f_start: [ 1.e-6 ]26f_max: [ 1. ]27f_min: [ 1. ]28
29unet_config:30target: ldm.modules.diffusionmodules.openaimodel.UNetModel31params:32image_size: 32 # unused33in_channels: 434out_channels: 435model_channels: 32036attention_resolutions: [ 4, 2, 1 ]37num_res_blocks: 238channel_mult: [ 1, 2, 4, 4 ]39num_heads: 840use_spatial_transformer: True41transformer_depth: 142context_dim: 76843use_checkpoint: True44legacy: False45
46first_stage_config:47target: ldm.models.autoencoder.AutoencoderKL48params:49embed_dim: 450monitor: val/rec_loss51ddconfig:52double_z: true53z_channels: 454resolution: 25655in_channels: 356out_ch: 357ch: 12858ch_mult:59- 160- 261- 462- 463num_res_blocks: 264attn_resolutions: []65dropout: 0.066lossconfig:67target: torch.nn.Identity68
69cond_stage_config:70target: modules.xlmr.BertSeriesModelWithTransformation71params:72name: "XLMR-Large"