Maybe you have done something wrong in Net definition. and it does not have any parameter.



 priceluke:

model = Net(feature_number=2, hidden_number=6, output_number=1)


check model.parameters() output.