My model code:

```
class Classifier(nn.Module):
def __init__(self):
super(Classifier, self).__init__()
self.resnet34 = models.resnet34(pretrained=True)
self.fc = nn.Sequential(
nn.Linear(2000, 1024),
nn.Linear(1024, 1),
nn.Sigmoid()
)
def forward(self, x1, x2):
x1 = self.resnet34(x1)
x2 = self.resnet34(x2)
output = torch.cat((x1,x2),1)
output = self.fc(output)
return output
```

‘’’

Please help me solving this issue.