stable-diffusion-webui
73 строки · 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_head_channels: 6440use_spatial_transformer: True41use_linear_in_transformer: True42transformer_depth: 143context_dim: 102444use_checkpoint: True45legacy: False46
47first_stage_config:48target: ldm.models.autoencoder.AutoencoderKL49params:50embed_dim: 451monitor: val/rec_loss52ddconfig:53double_z: true54z_channels: 455resolution: 25656in_channels: 357out_ch: 358ch: 12859ch_mult:60- 161- 262- 463- 464num_res_blocks: 265attn_resolutions: []66dropout: 0.067lossconfig:68target: torch.nn.Identity69
70cond_stage_config:71target: modules.xlmr_m18.BertSeriesModelWithTransformation72params:73name: "XLMR-Large"74