Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nylvam committed May 17, 2020
2 parents ebb6bc1 + f4952ee commit d3f3018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datasets/Part 6 - AutoEncoders (AE)/ae.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,6 @@ def forward(self, x):
mean_corrector = nb_movies/float(torch.sum(target.data > 0)+1e-10)
test_loss += np.sqrt(loss.data*mean_corrector) ## sum(errors) / n_pelis_valoradas
s += 1.
print("Test Loss: "+str(train_loss/s))
print("Test Loss: "+str(test_loss/s))


0 comments on commit d3f3018

Please sign in to comment.