Open Ellyuca opened 4 years ago
Hello, Did you ever resolve this issue? I'm encountering the same error. Thanks!
Hi. It's been months since I last worked on this project. I couldn't find any definitive solution so what I did was to ignore the dcg with zero as value which was causing a division by zero error and creating NaNs. It's not the best solution but it was the only way I could make it work.
Good luck with everything. I hope you'll be able to find a better way to solve the issue. If you do find a better solution let me know as well.
Have a great day. Best, Alina.
Ellyuca Thanks for your concern! I have very similar problem here... Also find other sources but not satisfied solution:( I also solve the problem by adding 1e-6 to each division term hehe:) If I can find better solution, I'll contact again! Thanks for your great intuition!
Hi, I am playing around with the vae_cf implementation and I tried to my dataset, instead of the ML-20M. It has the same structure (userid, itemid, ratings) and I made sure data type are the same. I left all the pre-processing part as it is. I am using google colab to run the code. When I use the ML-20M dataset everything works just fine. Instead, when I try to train the model using my dataset, I get nan values in ndcg_dist list.
Here i copy/paste the error i get: InvalidArgumentErrorTraceback (most recent call last)