Skip to content

Instantly share code, notes, and snippets.

@FrancescoSaverioZuppichini
Created September 23, 2018 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FrancescoSaverioZuppichini/d1d594fdfbbce72a7507fc4668cc9aaa to your computer and use it in GitHub Desktop.
Save FrancescoSaverioZuppichini/d1d594fdfbbce72a7507fc4668cc9aaa to your computer and use it in GitHub Desktop.
self.encoder = nn.Sequential(
conv_block(in_c, 32, kernel_size=3, padding=1),
conv_block(32, 64, kernel_size=3, padding=1),
conv_block(64, 128, kernel_size=3, padding=1),
conv_block(128, 256, kernel_size=3, padding=1),
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment