Hi,



 Kwame_Ampofo:

self.ConvNet = nn.Sequential((nn.Conv2d(in_channels=1,
                                            out_channels=5,
                                            kernel_size=3,
                                            stride=1,
                                            padding=1), 
                                  nn.ReLU(inplace=True),
                                  nn.Conv2d(in_channels=5,
                                            out_channels=10,
                                            kernel_size=3,
                                            stride=1,
                                            padding=1), 
                                  nn.MaxPool2d(2, 2),
                                  nn.ReLU(inplace=True),
                                  
                                  ))



I think removing one pair of parentheses as follows is enough to fix.
nn.Sequential(nn.Conv2d(in_channels=1,
                                            out_channels=5,
                                            kernel_size=3,
                                            stride=1,
                                            padding=1), 
                                  nn.ReLU(inplace=True),
                                  nn.Conv2d(in_channels=5,
                                            out_channels=10,
                                            kernel_size=3,
                                            stride=1,
                                            padding=1), 
                                  nn.MaxPool2d(2, 2),
                                  nn.ReLU(inplace=True),
                                  
                                  )