The activation input x to self.fc doesn’t have the expected number of features, so you would need to change the in_features of the first nn.Linear layer in self.fc to 13056.
Also, unrelated to this issue, but Variables are deprecated since PyTorch 0.4.0, so you can use tensors now.