Solved by Dwight_Foster in post #4 
              
              
                Yes here is the model code you could use 
class classification(nn.Module):
    def __init__(self, **kwargs):
        super().__init__()
        self.AE = AE(kwargs)
        self.AE.load_state_dict(FILENAME)
        self.classifier = nn.Sequential(nn.Linear(INPUT,OUPUT))
        ##You can use as many…