Problem with this seminar.
Right now error is raised in cells with model.predict(make_batch(...)), because there is no predict method for nn.Module class.
Please, add somewhere function like:
while this comment may be valid, it does not seem applicable to the current version of the seminar notebook. Feel free to submit a PR if still see a need for similar improvement.
Problem with this seminar. Right now error is raised in cells with
model.predict(make_batch(...))
, because there is nopredict
method for nn.Module class. Please, add somewhere function like:and change
model.predict(make_batch(...).detach().cpu()
expression to thepredict(model, make_batch(...)))
.