qLience:

File “C:\Users\koch\Anaconda3\envs\py36_pytorch_kivy\lib\site-packages\torch\autograd\variable.py”, line 386, in matmul
return torch.matmul(self, other)
File “C:\Users\koch\Anaconda3\envs\py36_pytorch_kivy\lib\site-packages\torch\functional.py”, line 168, in matmul
return torch.mm(tensor1.unsqueeze(0), tensor2).squeeze_(0)
RuntimeError: size mismatch, m1: [1 x 2], m2: [1 x 30] at c:\anaconda2\conda-bld\pytorch_1513133520683\work\torch\lib\th\generic/THTensorMath.c:1416


It sounds like you’re doing a matrix multiply where the first matrix is 1 by 2 while the second matrix is 1 by 30. The shapes of these matrices are incompatible.