768x768.yaml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. model:
  2. base_learning_rate: 0.0001
  3. target: ldm.models.diffusion.ddpm.LatentDiffusion
  4. params:
  5. linear_start: 0.0015
  6. linear_end: 0.015
  7. num_timesteps_cond: 1
  8. log_every_t: 200
  9. timesteps: 1000
  10. first_stage_key: jpg
  11. cond_stage_key: nix
  12. image_size: 48
  13. channels: 16
  14. cond_stage_trainable: false
  15. conditioning_key: crossattn
  16. monitor: val/loss_simple_ema
  17. scale_by_std: false
  18. scale_factor: 0.22765929
  19. unet_config:
  20. target: ldm.modules.diffusionmodules.openaimodel.UNetModel
  21. params:
  22. image_size: 48
  23. in_channels: 16
  24. out_channels: 16
  25. model_channels: 448
  26. attention_resolutions:
  27. - 4
  28. - 2
  29. - 1
  30. num_res_blocks: 2
  31. channel_mult:
  32. - 1
  33. - 2
  34. - 3
  35. - 4
  36. use_scale_shift_norm: false
  37. resblock_updown: false
  38. num_head_channels: 32
  39. use_spatial_transformer: true
  40. transformer_depth: 1
  41. context_dim: 768
  42. use_checkpoint: true
  43. first_stage_config:
  44. target: ldm.models.autoencoder.AutoencoderKL
  45. params:
  46. monitor: val/rec_loss
  47. embed_dim: 16
  48. ddconfig:
  49. double_z: true
  50. z_channels: 16
  51. resolution: 256
  52. in_channels: 3
  53. out_ch: 3
  54. ch: 128
  55. ch_mult:
  56. - 1
  57. - 1
  58. - 2
  59. - 2
  60. - 4
  61. num_res_blocks: 2
  62. attn_resolutions:
  63. - 16
  64. dropout: 0.0
  65. lossconfig:
  66. target: torch.nn.Identity
  67. cond_stage_config:
  68. target: torch.nn.Identity