Code Monkey home page Code Monkey logo

Comments (8)

yihong-chen avatar yihong-chen commented on July 19, 2024

Could you share your training curve? I tested the repo using pytorch 0.2 but I guess it should work under 0.3 and 0.4 as well.

from neural-collaborative-filtering.

GabbyHE avatar GabbyHE commented on July 19, 2024

Hi,

Thanks for your kind sharing.
I want to reproduce your results on my device, but my training results are too bad,
The evaluating HR and NDCG of some epochs are 0.0000, do you have any idea about this case? And could you tell me the Pytorch version that you use in your side?

Thanks.

@LaceyChen17 @zhiqiangzhongddu , I got the same issue, see the curves imageon dataset ml-1m,

from neural-collaborative-filtering.

zhiqiangzhongddu avatar zhiqiangzhongddu commented on July 19, 2024

Could you share your training curve? I tested the repo using pytorch 0.2 but I guess it should work under 0.3 and 0.4 as well.

Before, I used Pytorch 1.0.1, the latest version.
I tried Pytorch 0.4.0 with Cuda 80&90, but they don't work.
Error:
RuntimeError: input and target shapes do not match: input [1024 x 1], target [1024].

And I'm not success to install Pytorch 0.2 and 0.3 on my computer. It seems Conda doesn't support them anymore.

from neural-collaborative-filtering.

yihong-chen avatar yihong-chen commented on July 19, 2024

from neural-collaborative-filtering.

zhiqiangzhongddu avatar zhiqiangzhongddu commented on July 19, 2024

news: the same bug exists with Pytorch-0.3.1, Cuda=90&80&100 in my computer.

from neural-collaborative-filtering.

yihong-chen avatar yihong-chen commented on July 19, 2024

@zhiqiangzhongddu @GabbyHE

The bug was mainly caused by MSELoss.

The repo works well under the latest pytorch(1.0.1post2) now.

Thank you for reporting the bug. Also, pay attention to l2_regularization parameter.

Strong l2_regularization might lead to model underfitting and thus HR 0 & NDCG 0.

from neural-collaborative-filtering.

GabbyHE avatar GabbyHE commented on July 19, 2024

@zhiqiangzhongddu @GabbyHE

The bug was mainly caused by MSELoss.

The repo works well under the latest pytorch(1.0.1post2) now.

Thank you for reporting the bug. Also, pay attention to l2_regularization parameter.

Strong l2_regularization might lead to model underfitting and thus HR 0 & NDCG 0.

Thanks so much for fixing this bug.

from neural-collaborative-filtering.

zhiqiangzhongddu avatar zhiqiangzhongddu commented on July 19, 2024

@zhiqiangzhongddu @GabbyHE

The bug was mainly caused by MSELoss.

The repo works well under the latest pytorch(1.0.1post2) now.

Thank you for reporting the bug. Also, pay attention to l2_regularization parameter.

Strong l2_regularization might lead to model underfitting and thus HR 0 & NDCG 0.

Thanks.

from neural-collaborative-filtering.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.