RUCAIBox / RecBole

A unified, comprehensive and efficient recommendation library
https://recbole.io/
MIT License
3.27k stars 590 forks source link

[🐛BUG] Error running LightGCN #2034

Open nikhil-vemula opened 2 months ago

nikhil-vemula commented 2 months ago

Describe the bug In scipy 1.13 version _update method for dok_matrix is removed. The following code in the general_recommender and knowledge_aware_recommender will not work.

 A._update(data_dict)

This can be updated to

A._dict = data_dict

To Reproduce Steps to reproduce the behavior:

from recbole.quick_start import run_recbole

run_recbole(model='LightGCN', dataset='ml-100k')

Expected behavior The training of the model should start.