NVIDIA / DeepRecommender

Deep learning for recommender systems
MIT License
1.69k stars 341 forks source link

Solved deprecated warnings and errors: #27

Closed mkfilipiuk closed 5 years ago

mkfilipiuk commented 5 years ago

size_average and reduce are now deprecated (https://discuss.pytorch.org/t/userwarning-size-average-and-reduce-args-will-be-deprecated-please-use-reduction-sum-instead/24629) Getting value of 0-tensor fixed to .item() instead of [0]

Minor spelling fixed

okuchaiev commented 5 years ago

can you please rebase on the latest master so that it does not have conflicts?

mkfilipiuk commented 5 years ago

Ok, should be working now