Created
March 22, 2021 18:07
-
-
Save J3698/7bbe47d4e9269c3698e6d5893b293c05 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
def main(): | |
encoder = VGG19Encoder() | |
print(encoder) | |
encoder.freeze() | |
sample_input = torch.ones((1, 3, 256, 256)) | |
sample_output = encoder(sample_input) | |
print(f"Input shapes: {sample_input.shape}") | |
print(f"Output shapes: {[i.shape for i in sample_output]}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment