Skip to content

Commit

Permalink
detach result from graph
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamad-hasan-sohan-ajini committed Jul 9, 2020
1 parent 38f5745 commit ace014f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def utternace_repr(model, transform, num_frames, device, filepath):
x = model(x)
x = x.mean(dim=0)

return x
return x.detach()


def cosine_based(rep0, rep1):
Expand Down

0 comments on commit ace014f

Please sign in to comment.