Skip to content
Snippets Groups Projects
Commit c76c3e52 authored by piotrmp's avatar piotrmp
Browse files

Bugfix.

parent a5bf04d9
Branches
Tags
1 merge request!2Multiword generation
......@@ -202,6 +202,7 @@ class Lambo():
with torch.no_grad():
X = [x.to(self.device) for x in X]
Y = self.model(*X)
Y = Y.to('cpu')
# perform postprocessing
decisions = self.model.postprocessing(Y, text)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment