Solved by boto in post #2 
              
              
                Hi! 
Your forward(self, x) can’t access your conv1 as you didn’t initialize it. To do so, you have to call self.conv1 = Conv2d(...) in the ___init___ method of your model. See here: 
    def __init__(self, dropout=None):
        super(Model, self).__init__()
        # in_channels, out_channels, kern…