File size: 728 Bytes
7f51798
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
ldm_configs:

  conditioner_config:
    target: sgm.modules.GeneralConditioner
    params:
      emb_models:
        - is_trainable: False
          input_key: caption
          ucg_rate: 0.1
          target: sgm.modules.encoders.modules.FrozenOpenCLIPEmbedder2
          params:
            always_return_pooled: True
            legacy: False
            arch: 'ViT-L-14'
            version: 'openai'


  loss_fn_config:
    target: sgm.modules.diffusionmodules.loss.FMLoss
    params:
      transport_config:
        target: transport.create_transport
        params: # all follow default
          snr_type: lognorm

  guider_config:
    target: sgm.modules.diffusionmodules.guiders.VanillaCFG
    params:
      scale: 4.0