Hi family.
I’m noob here and this is my first effort programming in pytorch =). Here my code:
And this is what i do later:
learn = Learner(db, model, loss_func = nn.CrossEntropyLoss(), metrics=[error_rate, accuracy])
Then, i do some operation, for instance learn.summary() i got this error:
TypeError: dropout(): argument ‘input’ (position 1) must be Tensor, not numpy.int64
Someone know what’s wrong in my code?
Thanks all