Comments (8)
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.
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 on dataset ml-1m,
from neural-collaborative-filtering.
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.
from neural-collaborative-filtering.
news: the same bug exists with Pytorch-0.3.1, Cuda=90&80&100 in my computer.
from neural-collaborative-filtering.
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.
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.
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)
- AssertionError: CUDA is not available HOT 4
- Add LICENSE.txt
- the performance of ncf in hr@10 didn't achieve 0.7 HOT 4
- NeuMF algorithm HOT 1
- L2 regularization HOT 1
- Missing layer and training workflow HOT 2
- Does hyper parameter "l2_regularization" works? I didn't find anywhere in "mlp.py" related to this parameter
- size mismatch for fc_layers
- ModuleNotFoundError: No module named 'tensorboardX'
- The NDCG metric HOT 3
- AssertionError
- The GPU utilization is low HOT 2
- The code implementation does not match the original paper HOT 4
- 'checkpoints/gmf_factor8neg4_Epoch100_HR0.6391_NDCG0.2852.model' HOT 12
- How to apply NCF to datasets that only have the number of interactions? HOT 9
- 0 NDCG and HR for training NeuMF and GMF HOT 2
- Test Dataloader for large dataset. HOT 4
- Wrong Neumf config ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neural-collaborative-filtering.