Target size that is different to the input size

perhaps it is due to how you have defined your nn.Linear

1 Like