i have a trainingdata(torch.size([3,3,200,200]) and i put it in my convolution network,but get error.
how can i fix it?
class ConNet(nn.Module):
    def __init__(self):
        super(ConNet, self).__init__()
        self.ConNet1 = nn.Sequential(
            nn.Conv2d(
                in_channels=3,
                out_channels=24,
                kernel_size=3,
                stride=1,
                padding=1,
            ),
            nn.ReLU(),
            nn.AvgPool2d(
                kernel_size=2,
                stride=2,
            ),
        )
        self.ConNet2 =nn.Sequential(
            nn.Conv2d(24,12,3,1,0),
            nn.ReLU(),
            nn.AvgPool2d(2,2)
        )
        self.classifier=nn.Sequential(
            nn.Linear(12*49*49,256),
            nn.ReLU(),
            nn.Linear(256,128),
            nn.ReLU(),
            nn.Linear(128,40000)
        )
    def forward(self,x):
        x=self.ConNet1(x)
        x=self.ConNet2(x)
        x=x.view(x.size(0),-1)
        output=self.classifier(x)
        return output
connet=ConNet()
print(connet)