Advertisement
Jakeukalane

ade20k.yaml

Jun 25th, 2021
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. ---
  2. data:
  3. params:
  4. batch_size: 6
  5. train:
  6. params:
  7. crop_size: 256
  8. size: 290
  9. target: taming.data.ade20k.ADE20kTrain
  10. validation:
  11. params:
  12. crop_size: 256
  13. size: 256
  14. target: taming.data.ade20k.ADE20kValidation
  15. target: main.DataModuleFromConfig
  16. model:
  17. base_learning_rate: 4.5e-06
  18. params:
  19. cond_stage_config:
  20. params:
  21. colorize_nlabels: 151
  22. ddconfig:
  23. attn_resolutions:
  24. - 16
  25. ch: 128
  26. ch_mult:
  27. - 1
  28. - 1
  29. - 2
  30. - 2
  31. - 4
  32. double_z: false
  33. dropout: 0.0
  34. in_channels: 151
  35. num_res_blocks: 2
  36. out_ch: 151
  37. resolution: 256
  38. z_channels: 256
  39. embed_dim: 256
  40. image_key: segmentation
  41. lossconfig:
  42. target: taming.modules.losses.DummyLoss
  43. n_embed: 1024
  44. target: taming.models.vqgan.VQModel
  45. cond_stage_key: segmentation
  46. first_stage_config:
  47. params:
  48. ddconfig:
  49. attn_resolutions:
  50. - 16
  51. ch: 128
  52. ch_mult:
  53. - 1
  54. - 1
  55. - 2
  56. - 2
  57. - 4
  58. double_z: false
  59. dropout: 0.0
  60. in_channels: 3
  61. num_res_blocks: 2
  62. out_ch: 3
  63. resolution: 256
  64. z_channels: 256
  65. embed_dim: 256
  66. lossconfig:
  67. target: taming.modules.losses.DummyLoss
  68. n_embed: 4096
  69. target: taming.models.vqgan.VQModel
  70. first_stage_key: image
  71. transformer_config:
  72. params:
  73. attn_pdrop: 0.1
  74. block_size: 512
  75. n_embd: 1024
  76. n_head: 16
  77. n_layer: 28
  78. resid_pdrop: 0.1
  79. vocab_size: 4096
  80. target: taming.modules.transformer.mingpt.GPT
  81. target: taming.models.cond_transformer.Net2NetTransformer
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement