Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
14 kB
1
Indexable
Never
HiFiGenerator(
  (input_conv): Conv1d(80, 512, kernel_size=(7,), stride=(1,), padding=(3,))
  (blocks): Sequential(
    (0): Sequential(
      (0): LeakyReLU(negative_slope=0.1)
      (1): ConvTranspose1d(512, 256, kernel_size=(16,), stride=(8,), padding=(4,))
      (2): MRF(
        (res_blocks): ModuleList(
          (0): ResBlock(
            (layers): ModuleList(
              (0): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(256, 256, kernel_size=(3,), stride=(1,), padding=same)
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(256, 256, kernel_size=(3,), stride=(1,), padding=same)
              )
              (1): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(256, 256, kernel_size=(3,), stride=(1,), padding=same, dilation=(3,))
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(256, 256, kernel_size=(3,), stride=(1,), padding=same)
              )
              (2): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(256, 256, kernel_size=(3,), stride=(1,), padding=same, dilation=(5,))
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(256, 256, kernel_size=(3,), stride=(1,), padding=same)
              )
            )
          )
          (1): ResBlock(
            (layers): ModuleList(
              (0): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(256, 256, kernel_size=(7,), stride=(1,), padding=same)
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(256, 256, kernel_size=(7,), stride=(1,), padding=same)
              )
              (1): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(256, 256, kernel_size=(7,), stride=(1,), padding=same, dilation=(3,))
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(256, 256, kernel_size=(7,), stride=(1,), padding=same)
              )
              (2): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(256, 256, kernel_size=(7,), stride=(1,), padding=same, dilation=(5,))
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(256, 256, kernel_size=(7,), stride=(1,), padding=same)
              )
            )
          )
          (2): ResBlock(
            (layers): ModuleList(
              (0): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(256, 256, kernel_size=(11,), stride=(1,), padding=same)
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(256, 256, kernel_size=(11,), stride=(1,), padding=same)
              )
              (1): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(256, 256, kernel_size=(11,), stride=(1,), padding=same, dilation=(3,))
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(256, 256, kernel_size=(11,), stride=(1,), padding=same)
              )
              (2): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(256, 256, kernel_size=(11,), stride=(1,), padding=same, dilation=(5,))
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(256, 256, kernel_size=(11,), stride=(1,), padding=same)
              )
            )
          )
        )
      )
    )
    (1): Sequential(
      (0): LeakyReLU(negative_slope=0.1)
      (1): ConvTranspose1d(256, 128, kernel_size=(16,), stride=(8,), padding=(4,))
      (2): MRF(
        (res_blocks): ModuleList(
          (0): ResBlock(
            (layers): ModuleList(
              (0): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(128, 128, kernel_size=(3,), stride=(1,), padding=same)
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(128, 128, kernel_size=(3,), stride=(1,), padding=same)
              )
              (1): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(128, 128, kernel_size=(3,), stride=(1,), padding=same, dilation=(3,))
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(128, 128, kernel_size=(3,), stride=(1,), padding=same)
              )
              (2): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(128, 128, kernel_size=(3,), stride=(1,), padding=same, dilation=(5,))
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(128, 128, kernel_size=(3,), stride=(1,), padding=same)
              )
            )
          )
          (1): ResBlock(
            (layers): ModuleList(
              (0): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(128, 128, kernel_size=(7,), stride=(1,), padding=same)
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(128, 128, kernel_size=(7,), stride=(1,), padding=same)
              )
              (1): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(128, 128, kernel_size=(7,), stride=(1,), padding=same, dilation=(3,))
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(128, 128, kernel_size=(7,), stride=(1,), padding=same)
              )
              (2): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(128, 128, kernel_size=(7,), stride=(1,), padding=same, dilation=(5,))
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(128, 128, kernel_size=(7,), stride=(1,), padding=same)
              )
            )
          )
          (2): ResBlock(
            (layers): ModuleList(
              (0): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(128, 128, kernel_size=(11,), stride=(1,), padding=same)
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(128, 128, kernel_size=(11,), stride=(1,), padding=same)
              )
              (1): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(128, 128, kernel_size=(11,), stride=(1,), padding=same, dilation=(3,))
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(128, 128, kernel_size=(11,), stride=(1,), padding=same)
              )
              (2): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(128, 128, kernel_size=(11,), stride=(1,), padding=same, dilation=(5,))
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(128, 128, kernel_size=(11,), stride=(1,), padding=same)
              )
            )
          )
        )
      )
    )
    (2): Sequential(
      (0): LeakyReLU(negative_slope=0.1)
      (1): ConvTranspose1d(128, 64, kernel_size=(4,), stride=(2,), padding=(1,))
      (2): MRF(
        (res_blocks): ModuleList(
          (0): ResBlock(
            (layers): ModuleList(
              (0): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(64, 64, kernel_size=(3,), stride=(1,), padding=same)
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(64, 64, kernel_size=(3,), stride=(1,), padding=same)
              )
              (1): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(64, 64, kernel_size=(3,), stride=(1,), padding=same, dilation=(3,))
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(64, 64, kernel_size=(3,), stride=(1,), padding=same)
              )
              (2): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(64, 64, kernel_size=(3,), stride=(1,), padding=same, dilation=(5,))
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(64, 64, kernel_size=(3,), stride=(1,), padding=same)
              )
            )
          )
          (1): ResBlock(
            (layers): ModuleList(
              (0): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(64, 64, kernel_size=(7,), stride=(1,), padding=same)
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(64, 64, kernel_size=(7,), stride=(1,), padding=same)
              )
              (1): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(64, 64, kernel_size=(7,), stride=(1,), padding=same, dilation=(3,))
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(64, 64, kernel_size=(7,), stride=(1,), padding=same)
              )
              (2): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(64, 64, kernel_size=(7,), stride=(1,), padding=same, dilation=(5,))
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(64, 64, kernel_size=(7,), stride=(1,), padding=same)
              )
            )
          )
          (2): ResBlock(
            (layers): ModuleList(
              (0): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(64, 64, kernel_size=(11,), stride=(1,), padding=same)
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(64, 64, kernel_size=(11,), stride=(1,), padding=same)
              )
              (1): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(64, 64, kernel_size=(11,), stride=(1,), padding=same, dilation=(3,))
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(64, 64, kernel_size=(11,), stride=(1,), padding=same)
              )
              (2): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(64, 64, kernel_size=(11,), stride=(1,), padding=same, dilation=(5,))
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(64, 64, kernel_size=(11,), stride=(1,), padding=same)
              )
            )
          )
        )
      )
    )
    (3): Sequential(
      (0): LeakyReLU(negative_slope=0.1)
      (1): ConvTranspose1d(64, 32, kernel_size=(4,), stride=(2,), padding=(1,))
      (2): MRF(
        (res_blocks): ModuleList(
          (0): ResBlock(
            (layers): ModuleList(
              (0): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(32, 32, kernel_size=(3,), stride=(1,), padding=same)
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(32, 32, kernel_size=(3,), stride=(1,), padding=same)
              )
              (1): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(32, 32, kernel_size=(3,), stride=(1,), padding=same, dilation=(3,))
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(32, 32, kernel_size=(3,), stride=(1,), padding=same)
              )
              (2): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(32, 32, kernel_size=(3,), stride=(1,), padding=same, dilation=(5,))
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(32, 32, kernel_size=(3,), stride=(1,), padding=same)
              )
            )
          )
          (1): ResBlock(
            (layers): ModuleList(
              (0): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(32, 32, kernel_size=(7,), stride=(1,), padding=same)
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(32, 32, kernel_size=(7,), stride=(1,), padding=same)
              )
              (1): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(32, 32, kernel_size=(7,), stride=(1,), padding=same, dilation=(3,))
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(32, 32, kernel_size=(7,), stride=(1,), padding=same)
              )
              (2): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(32, 32, kernel_size=(7,), stride=(1,), padding=same, dilation=(5,))
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(32, 32, kernel_size=(7,), stride=(1,), padding=same)
              )
            )
          )
          (2): ResBlock(
            (layers): ModuleList(
              (0): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(32, 32, kernel_size=(11,), stride=(1,), padding=same)
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(32, 32, kernel_size=(11,), stride=(1,), padding=same)
              )
              (1): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(32, 32, kernel_size=(11,), stride=(1,), padding=same, dilation=(3,))
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(32, 32, kernel_size=(11,), stride=(1,), padding=same)
              )
              (2): Sequential(
                (0): LeakyReLU(negative_slope=0.1)
                (1): Conv1d(32, 32, kernel_size=(11,), stride=(1,), padding=same, dilation=(5,))
                (2): LeakyReLU(negative_slope=0.1)
                (3): Conv1d(32, 32, kernel_size=(11,), stride=(1,), padding=same)
              )
            )
          )
        )
      )
    )
  )
  (final_layer): Sequential(
    (0): LeakyReLU(negative_slope=0.1)
    (1): Conv1d(32, 1, kernel_size=(7,), stride=(1,), padding=(3,))
    (2): Tanh()
  )
)