Last active
December 20, 2022 19:46
-
-
Save AlessandroMondin/5df7864570eceea8b7c39debcc46bd08 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
self.neck = nn.ModuleList() | |
self.neck += [ | |
CBL(in_channels=first_out*16, out_channels=first_out*8, kernel_size=1, stride=1, padding=0), | |
C3(in_channels=first_out*16, out_channels=first_out*8, width_multiple=0.25, depth=2, backbone=False), | |
CBL(in_channels=first_out*8, out_channels=first_out*4, kernel_size=1, stride=1, padding=0), | |
C3(in_channels=first_out*8, out_channels=first_out*4, width_multiple=0.25, depth=2, backbone=False), | |
CBL(in_channels=first_out*4, out_channels=first_out*4, kernel_size=3, stride=2, padding=1), | |
C3(in_channels=first_out*8, out_channels=first_out*8, width_multiple=0.5, depth=2, backbone=False), | |
CBL(in_channels=first_out*8, out_channels=first_out*8, kernel_size=3, stride=2, padding=1), | |
C3(in_channels=first_out*16, out_channels=first_out*16, width_multiple=0.5, depth=2, backbone=False) | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment