Created
June 30, 2020 07:11
-
-
Save mihir135/2e5113265515450c8da934e15d97fc6b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Focus( | |
(conv): Conv( | |
(conv): Conv2d(12, 32, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False) | |
(bn): BatchNorm2d(32, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
), Conv( | |
(conv): Conv2d(32, 64, kernel_size=(3, 3), stride=(2, 2), padding=(1, 1), bias=False) | |
(bn): BatchNorm2d(64, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
), BottleneckCSP( | |
(cv1): Conv( | |
(conv): Conv2d(64, 32, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(32, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(cv2): Conv2d(64, 32, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(cv3): Conv2d(32, 32, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(cv4): Conv( | |
(conv): Conv2d(64, 64, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(64, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(bn): BatchNorm2d(64, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
(m): Sequential( | |
(0): Bottleneck( | |
(cv1): Conv( | |
(conv): Conv2d(32, 32, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(32, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(cv2): Conv( | |
(conv): Conv2d(32, 32, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False) | |
(bn): BatchNorm2d(32, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
) | |
) | |
), Conv( | |
(conv): Conv2d(64, 128, kernel_size=(3, 3), stride=(2, 2), padding=(1, 1), bias=False) | |
(bn): BatchNorm2d(128, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
), BottleneckCSP( | |
(cv1): Conv( | |
(conv): Conv2d(128, 64, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(64, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(cv2): Conv2d(128, 64, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(cv3): Conv2d(64, 64, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(cv4): Conv( | |
(conv): Conv2d(128, 128, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(128, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(bn): BatchNorm2d(128, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
(m): Sequential( | |
(0): Bottleneck( | |
(cv1): Conv( | |
(conv): Conv2d(64, 64, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(64, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(cv2): Conv( | |
(conv): Conv2d(64, 64, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False) | |
(bn): BatchNorm2d(64, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
) | |
(1): Bottleneck( | |
(cv1): Conv( | |
(conv): Conv2d(64, 64, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(64, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(cv2): Conv( | |
(conv): Conv2d(64, 64, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False) | |
(bn): BatchNorm2d(64, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
) | |
(2): Bottleneck( | |
(cv1): Conv( | |
(conv): Conv2d(64, 64, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(64, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(cv2): Conv( | |
(conv): Conv2d(64, 64, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False) | |
(bn): BatchNorm2d(64, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
) | |
) | |
), Conv( | |
(conv): Conv2d(128, 256, kernel_size=(3, 3), stride=(2, 2), padding=(1, 1), bias=False) | |
(bn): BatchNorm2d(256, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
), BottleneckCSP( | |
(cv1): Conv( | |
(conv): Conv2d(256, 128, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(128, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(cv2): Conv2d(256, 128, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(cv3): Conv2d(128, 128, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(cv4): Conv( | |
(conv): Conv2d(256, 256, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(256, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(bn): BatchNorm2d(256, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
(m): Sequential( | |
(0): Bottleneck( | |
(cv1): Conv( | |
(conv): Conv2d(128, 128, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(128, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(cv2): Conv( | |
(conv): Conv2d(128, 128, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False) | |
(bn): BatchNorm2d(128, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
) | |
(1): Bottleneck( | |
(cv1): Conv( | |
(conv): Conv2d(128, 128, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(128, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(cv2): Conv( | |
(conv): Conv2d(128, 128, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False) | |
(bn): BatchNorm2d(128, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
) | |
(2): Bottleneck( | |
(cv1): Conv( | |
(conv): Conv2d(128, 128, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(128, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(cv2): Conv( | |
(conv): Conv2d(128, 128, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False) | |
(bn): BatchNorm2d(128, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
) | |
) | |
), Conv( | |
(conv): Conv2d(256, 512, kernel_size=(3, 3), stride=(2, 2), padding=(1, 1), bias=False) | |
(bn): BatchNorm2d(512, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
), SPP( | |
(cv1): Conv( | |
(conv): Conv2d(512, 256, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(256, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(cv2): Conv( | |
(conv): Conv2d(1024, 512, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(512, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(m): ModuleList( | |
(0): MaxPool2d(kernel_size=5, stride=1, padding=2, dilation=1, ceil_mode=False) | |
(1): MaxPool2d(kernel_size=9, stride=1, padding=4, dilation=1, ceil_mode=False) | |
(2): MaxPool2d(kernel_size=13, stride=1, padding=6, dilation=1, ceil_mode=False) | |
) | |
), BottleneckCSP( | |
(cv1): Conv( | |
(conv): Conv2d(512, 256, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(256, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(cv2): Conv2d(512, 256, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(cv3): Conv2d(256, 256, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(cv4): Conv( | |
(conv): Conv2d(512, 512, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(512, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(bn): BatchNorm2d(512, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
(m): Sequential( | |
(0): Bottleneck( | |
(cv1): Conv( | |
(conv): Conv2d(256, 256, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(256, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(cv2): Conv( | |
(conv): Conv2d(256, 256, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False) | |
(bn): BatchNorm2d(256, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
) | |
) | |
), Conv( | |
(conv): Conv2d(512, 256, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(256, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
), Upsample(scale_factor=2.0, mode=nearest), Concat(), BottleneckCSP( | |
(cv1): Conv( | |
(conv): Conv2d(512, 128, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(128, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(cv2): Conv2d(512, 128, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(cv3): Conv2d(128, 128, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(cv4): Conv( | |
(conv): Conv2d(256, 256, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(256, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(bn): BatchNorm2d(256, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
(m): Sequential( | |
(0): Bottleneck( | |
(cv1): Conv( | |
(conv): Conv2d(128, 128, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(128, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(cv2): Conv( | |
(conv): Conv2d(128, 128, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False) | |
(bn): BatchNorm2d(128, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
) | |
) | |
), Conv( | |
(conv): Conv2d(256, 128, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(128, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
), Upsample(scale_factor=2.0, mode=nearest), Concat(), BottleneckCSP( | |
(cv1): Conv( | |
(conv): Conv2d(256, 64, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(64, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(cv2): Conv2d(256, 64, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(cv3): Conv2d(64, 64, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(cv4): Conv( | |
(conv): Conv2d(128, 128, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(128, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(bn): BatchNorm2d(128, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
(m): Sequential( | |
(0): Bottleneck( | |
(cv1): Conv( | |
(conv): Conv2d(64, 64, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(64, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(cv2): Conv( | |
(conv): Conv2d(64, 64, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False) | |
(bn): BatchNorm2d(64, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
) | |
) | |
), Conv2d(128, 255, kernel_size=(1, 1), stride=(1, 1)), Conv( | |
(conv): Conv2d(128, 128, kernel_size=(3, 3), stride=(2, 2), padding=(1, 1), bias=False) | |
(bn): BatchNorm2d(128, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
), Concat(), BottleneckCSP( | |
(cv1): Conv( | |
(conv): Conv2d(256, 128, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(128, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(cv2): Conv2d(256, 128, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(cv3): Conv2d(128, 128, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(cv4): Conv( | |
(conv): Conv2d(256, 256, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(256, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(bn): BatchNorm2d(256, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
(m): Sequential( | |
(0): Bottleneck( | |
(cv1): Conv( | |
(conv): Conv2d(128, 128, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(128, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(cv2): Conv( | |
(conv): Conv2d(128, 128, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False) | |
(bn): BatchNorm2d(128, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
) | |
) | |
), Conv2d(256, 255, kernel_size=(1, 1), stride=(1, 1)), Conv( | |
(conv): Conv2d(256, 256, kernel_size=(3, 3), stride=(2, 2), padding=(1, 1), bias=False) | |
(bn): BatchNorm2d(256, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
), Concat(), BottleneckCSP( | |
(cv1): Conv( | |
(conv): Conv2d(512, 256, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(256, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(cv2): Conv2d(512, 256, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(cv3): Conv2d(256, 256, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(cv4): Conv( | |
(conv): Conv2d(512, 512, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(512, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(bn): BatchNorm2d(512, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
(m): Sequential( | |
(0): Bottleneck( | |
(cv1): Conv( | |
(conv): Conv2d(256, 256, kernel_size=(1, 1), stride=(1, 1), bias=False) | |
(bn): BatchNorm2d(256, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
(cv2): Conv( | |
(conv): Conv2d(256, 256, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False) | |
(bn): BatchNorm2d(256, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True) | |
(act): LeakyReLU(negative_slope=0.1, inplace=True) | |
) | |
) | |
) | |
), Conv2d(512, 255, kernel_size=(1, 1), stride=(1, 1)), Detect() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment