Skip to content
Snippets Groups Projects
summary.txt 14.1 KiB
Newer Older
Kerstin Kaspar's avatar
Kerstin Kaspar committed
==========================================================================================
Layer (type:depth-idx)                   Output Shape              Param #
==========================================================================================
UNet                                     --                        --
├─Sequential: 1-1                        [1, 32, 368, 368]         --
│    └─Conv2d: 2-1                       [1, 32, 368, 368]         320
│    └─BatchNorm2d: 2-2                  [1, 32, 368, 368]         64
│    └─ReLU: 2-3                         [1, 32, 368, 368]         --
│    └─Conv2d: 2-4                       [1, 32, 368, 368]         9,248
│    └─BatchNorm2d: 2-5                  [1, 32, 368, 368]         64
│    └─ReLU: 2-6                         [1, 32, 368, 368]         --
│    └─Conv2d: 2-7                       [1, 32, 368, 368]         9,248
│    └─BatchNorm2d: 2-8                  [1, 32, 368, 368]         64
│    └─ReLU: 2-9                         [1, 32, 368, 368]         --
├─Sequential: 1-2                        [1, 64, 184, 184]         --
│    └─MaxPool2d: 2-10                   [1, 32, 184, 184]         --
│    └─Conv2d: 2-11                      [1, 64, 184, 184]         18,496
│    └─BatchNorm2d: 2-12                 [1, 64, 184, 184]         128
│    └─ReLU: 2-13                        [1, 64, 184, 184]         --
│    └─Conv2d: 2-14                      [1, 64, 184, 184]         36,928
│    └─BatchNorm2d: 2-15                 [1, 64, 184, 184]         128
│    └─ReLU: 2-16                        [1, 64, 184, 184]         --
├─Sequential: 1-3                        [1, 128, 92, 92]          --
│    └─MaxPool2d: 2-17                   [1, 64, 92, 92]           --
│    └─Conv2d: 2-18                      [1, 128, 92, 92]          73,856
│    └─BatchNorm2d: 2-19                 [1, 128, 92, 92]          256
│    └─ReLU: 2-20                        [1, 128, 92, 92]          --
│    └─Conv2d: 2-21                      [1, 128, 92, 92]          147,584
│    └─BatchNorm2d: 2-22                 [1, 128, 92, 92]          256
│    └─ReLU: 2-23                        [1, 128, 92, 92]          --
├─Sequential: 1-4                        [1, 256, 46, 46]          --
│    └─MaxPool2d: 2-24                   [1, 128, 46, 46]          --
│    └─Conv2d: 2-25                      [1, 256, 46, 46]          295,168
│    └─BatchNorm2d: 2-26                 [1, 256, 46, 46]          512
│    └─ReLU: 2-27                        [1, 256, 46, 46]          --
│    └─Conv2d: 2-28                      [1, 256, 46, 46]          590,080
│    └─BatchNorm2d: 2-29                 [1, 256, 46, 46]          512
│    └─ReLU: 2-30                        [1, 256, 46, 46]          --
├─Sequential: 1-5                        [1, 256, 46, 46]          --
│    └─MaxPool2d: 2-31                   [1, 256, 23, 23]          --
│    └─Conv2d: 2-32                      [1, 512, 23, 23]          1,180,160
│    └─BatchNorm2d: 2-33                 [1, 512, 23, 23]          1,024
│    └─ReLU: 2-34                        [1, 512, 23, 23]          --
│    └─Conv2d: 2-35                      [1, 512, 23, 23]          2,359,808
│    └─BatchNorm2d: 2-36                 [1, 512, 23, 23]          1,024
│    └─ReLU: 2-37                        [1, 512, 23, 23]          --
│    └─ConvTranspose2d: 2-38             [1, 256, 46, 46]          1,179,904
│    └─BatchNorm2d: 2-39                 [1, 256, 46, 46]          512
│    └─ReLU: 2-40                        [1, 256, 46, 46]          --
├─Sequential: 1-6                        [1, 128, 92, 92]          --
│    └─Conv2d: 2-41                      [1, 256, 46, 46]          1,179,904
│    └─BatchNorm2d: 2-42                 [1, 256, 46, 46]          512
│    └─ReLU: 2-43                        [1, 256, 46, 46]          --
│    └─Conv2d: 2-44                      [1, 256, 46, 46]          590,080
│    └─BatchNorm2d: 2-45                 [1, 256, 46, 46]          512
│    └─ReLU: 2-46                        [1, 256, 46, 46]          --
│    └─ConvTranspose2d: 2-47             [1, 128, 92, 92]          295,040
│    └─BatchNorm2d: 2-48                 [1, 128, 92, 92]          256
│    └─ReLU: 2-49                        [1, 128, 92, 92]          --
├─Sequential: 1-7                        [1, 64, 184, 184]         --
│    └─Conv2d: 2-50                      [1, 128, 92, 92]          295,040
│    └─BatchNorm2d: 2-51                 [1, 128, 92, 92]          256
│    └─ReLU: 2-52                        [1, 128, 92, 92]          --
│    └─Conv2d: 2-53                      [1, 128, 92, 92]          147,584
│    └─BatchNorm2d: 2-54                 [1, 128, 92, 92]          256
│    └─ReLU: 2-55                        [1, 128, 92, 92]          --
│    └─ConvTranspose2d: 2-56             [1, 64, 184, 184]         73,792
│    └─BatchNorm2d: 2-57                 [1, 64, 184, 184]         128
│    └─ReLU: 2-58                        [1, 64, 184, 184]         --
├─Sequential: 1-8                        [1, 32, 368, 368]         --
│    └─Conv2d: 2-59                      [1, 64, 184, 184]         73,792
│    └─BatchNorm2d: 2-60                 [1, 64, 184, 184]         128
│    └─ReLU: 2-61                        [1, 64, 184, 184]         --
│    └─Conv2d: 2-62                      [1, 64, 184, 184]         36,928
│    └─BatchNorm2d: 2-63                 [1, 64, 184, 184]         128
│    └─ReLU: 2-64                        [1, 64, 184, 184]         --
│    └─ConvTranspose2d: 2-65             [1, 32, 368, 368]         18,464
│    └─BatchNorm2d: 2-66                 [1, 32, 368, 368]         64
│    └─ReLU: 2-67                        [1, 32, 368, 368]         --
├─Sequential: 1-9                        [1, 1, 368, 368]          --
│    └─Conv2d: 2-68                      [1, 32, 368, 368]         18,464
│    └─BatchNorm2d: 2-69                 [1, 32, 368, 368]         64
│    └─ReLU: 2-70                        [1, 32, 368, 368]         --
│    └─Conv2d: 2-71                      [1, 32, 368, 368]         9,248
│    └─BatchNorm2d: 2-72                 [1, 32, 368, 368]         64
│    └─ReLU: 2-73                        [1, 32, 368, 368]         --
│    └─Conv2d: 2-74                      [1, 1, 368, 368]          33
==========================================================================================
Total params: 8,646,081
Trainable params: 8,646,081
Non-trainable params: 0
Total mult-adds (G): 35.03
==========================================================================================
Input size (MB): 0.54
Forward/backward pass size (MB): 729.12
Params size (MB): 34.58
Estimated Total Size (MB): 764.25
==========================================================================================
==========================================================================================
Layer (type:depth-idx)                   Output Shape              Param #
==========================================================================================
UNet                                     --                        --
├─Sequential: 1-1                        [1, 32, 368, 368]         --
│    └─Conv2d: 2-1                       [1, 32, 368, 368]         320
│    └─BatchNorm2d: 2-2                  [1, 32, 368, 368]         64
│    └─ReLU: 2-3                         [1, 32, 368, 368]         --
│    └─Conv2d: 2-4                       [1, 32, 368, 368]         9,248
│    └─BatchNorm2d: 2-5                  [1, 32, 368, 368]         64
│    └─ReLU: 2-6                         [1, 32, 368, 368]         --
│    └─Conv2d: 2-7                       [1, 32, 368, 368]         9,248
│    └─BatchNorm2d: 2-8                  [1, 32, 368, 368]         64
│    └─ReLU: 2-9                         [1, 32, 368, 368]         --
├─Sequential: 1-2                        [1, 64, 184, 184]         --
│    └─MaxPool2d: 2-10                   [1, 32, 184, 184]         --
│    └─Conv2d: 2-11                      [1, 64, 184, 184]         18,496
│    └─BatchNorm2d: 2-12                 [1, 64, 184, 184]         128
│    └─ReLU: 2-13                        [1, 64, 184, 184]         --
│    └─Conv2d: 2-14                      [1, 64, 184, 184]         36,928
│    └─BatchNorm2d: 2-15                 [1, 64, 184, 184]         128
│    └─ReLU: 2-16                        [1, 64, 184, 184]         --
├─Sequential: 1-3                        [1, 128, 92, 92]          --
│    └─MaxPool2d: 2-17                   [1, 64, 92, 92]           --
│    └─Conv2d: 2-18                      [1, 128, 92, 92]          73,856
│    └─BatchNorm2d: 2-19                 [1, 128, 92, 92]          256
│    └─ReLU: 2-20                        [1, 128, 92, 92]          --
│    └─Conv2d: 2-21                      [1, 128, 92, 92]          147,584
│    └─BatchNorm2d: 2-22                 [1, 128, 92, 92]          256
│    └─ReLU: 2-23                        [1, 128, 92, 92]          --
├─Sequential: 1-4                        [1, 256, 46, 46]          --
│    └─MaxPool2d: 2-24                   [1, 128, 46, 46]          --
│    └─Conv2d: 2-25                      [1, 256, 46, 46]          295,168
│    └─BatchNorm2d: 2-26                 [1, 256, 46, 46]          512
│    └─ReLU: 2-27                        [1, 256, 46, 46]          --
│    └─Conv2d: 2-28                      [1, 256, 46, 46]          590,080
│    └─BatchNorm2d: 2-29                 [1, 256, 46, 46]          512
│    └─ReLU: 2-30                        [1, 256, 46, 46]          --
├─Sequential: 1-5                        [1, 256, 46, 46]          --
│    └─MaxPool2d: 2-31                   [1, 256, 23, 23]          --
│    └─Conv2d: 2-32                      [1, 512, 23, 23]          1,180,160
│    └─BatchNorm2d: 2-33                 [1, 512, 23, 23]          1,024
│    └─ReLU: 2-34                        [1, 512, 23, 23]          --
│    └─Conv2d: 2-35                      [1, 512, 23, 23]          2,359,808
│    └─BatchNorm2d: 2-36                 [1, 512, 23, 23]          1,024
│    └─ReLU: 2-37                        [1, 512, 23, 23]          --
│    └─ConvTranspose2d: 2-38             [1, 256, 46, 46]          1,179,904
│    └─BatchNorm2d: 2-39                 [1, 256, 46, 46]          512
│    └─ReLU: 2-40                        [1, 256, 46, 46]          --
├─Sequential: 1-6                        [1, 128, 92, 92]          --
│    └─Conv2d: 2-41                      [1, 256, 46, 46]          1,179,904
│    └─BatchNorm2d: 2-42                 [1, 256, 46, 46]          512
│    └─ReLU: 2-43                        [1, 256, 46, 46]          --
│    └─Conv2d: 2-44                      [1, 256, 46, 46]          590,080
│    └─BatchNorm2d: 2-45                 [1, 256, 46, 46]          512
│    └─ReLU: 2-46                        [1, 256, 46, 46]          --
│    └─ConvTranspose2d: 2-47             [1, 128, 92, 92]          295,040
│    └─BatchNorm2d: 2-48                 [1, 128, 92, 92]          256
│    └─ReLU: 2-49                        [1, 128, 92, 92]          --
├─Sequential: 1-7                        [1, 64, 184, 184]         --
│    └─Conv2d: 2-50                      [1, 128, 92, 92]          295,040
│    └─BatchNorm2d: 2-51                 [1, 128, 92, 92]          256
│    └─ReLU: 2-52                        [1, 128, 92, 92]          --
│    └─Conv2d: 2-53                      [1, 128, 92, 92]          147,584
│    └─BatchNorm2d: 2-54                 [1, 128, 92, 92]          256
│    └─ReLU: 2-55                        [1, 128, 92, 92]          --
│    └─ConvTranspose2d: 2-56             [1, 64, 184, 184]         73,792
│    └─BatchNorm2d: 2-57                 [1, 64, 184, 184]         128
│    └─ReLU: 2-58                        [1, 64, 184, 184]         --
├─Sequential: 1-8                        [1, 32, 368, 368]         --
│    └─Conv2d: 2-59                      [1, 64, 184, 184]         73,792
│    └─BatchNorm2d: 2-60                 [1, 64, 184, 184]         128
│    └─ReLU: 2-61                        [1, 64, 184, 184]         --
│    └─Conv2d: 2-62                      [1, 64, 184, 184]         36,928
│    └─BatchNorm2d: 2-63                 [1, 64, 184, 184]         128
│    └─ReLU: 2-64                        [1, 64, 184, 184]         --
│    └─ConvTranspose2d: 2-65             [1, 32, 368, 368]         18,464
│    └─BatchNorm2d: 2-66                 [1, 32, 368, 368]         64
│    └─ReLU: 2-67                        [1, 32, 368, 368]         --
├─Sequential: 1-9                        [1, 1, 368, 368]          --
│    └─Conv2d: 2-68                      [1, 32, 368, 368]         18,464
│    └─BatchNorm2d: 2-69                 [1, 32, 368, 368]         64
│    └─ReLU: 2-70                        [1, 32, 368, 368]         --
│    └─Conv2d: 2-71                      [1, 32, 368, 368]         9,248
│    └─BatchNorm2d: 2-72                 [1, 32, 368, 368]         64
│    └─ReLU: 2-73                        [1, 32, 368, 368]         --
│    └─Conv2d: 2-74                      [1, 1, 368, 368]          33
==========================================================================================
Total params: 8,646,081
Trainable params: 8,646,081
Non-trainable params: 0
Total mult-adds (G): 35.03
==========================================================================================
Input size (MB): 0.54
Forward/backward pass size (MB): 729.12
Params size (MB): 34.58
Estimated Total Size (MB): 764.25
==========================================================================================