i am using Resent for 1d data and its showing this error
RuntimeError: size mismatch, m1: [16 x 51200], m2: [2048 x 2] at C:\w\1\s\tmp_conda_3.7_080832\conda\conda-bld\pytorch_1580544815892\work\aten\src\TH/generic/THTensorMath.cpp:41
here
def forward(self, x):
    x  = F.relu(self.bn1(self.conv1(x.float())))
    
    x  = self.layer1(x)
    x  = self.layer2(x)
    x  = self.layer3(x)
    x  = self.layer4(x)
    
    x  = F.avg_pool1d(x,4)

    x  = x.view(x.size(0),-1)
    x  = self.fc(x)
    
    return x