RuntimeError                              Traceback (most recent call last)
<ipython-input-100-118ab5f812d5> in <module>()
     29                 optimizer.zero_grad()
     30                 print(anchor)
---> 31                 a_output = model(anchor)
     32                 p_output = model(positive)
     33                 n_output = model(negative)

5 frames
/usr/local/lib/python3.6/dist-packages/torch/nn/modules/conv.py in forward(self, input)
    336                             _pair(0), self.dilation, self.groups)
    337         return F.conv2d(input, self.weight, self.bias, self.stride,
--> 338                         self.padding, self.dilation, self.groups)
    339 
    340 

When I call the model, this error happens. Anyone knows how to solve this?