Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LightGCN and MF model are not working #2090

Open
emrulhasan-nlp opened this issue Sep 26, 2024 · 0 comments
Open

LightGCN and MF model are not working #2090

emrulhasan-nlp opened this issue Sep 26, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@emrulhasan-nlp
Copy link

Describe the bug
I am trying to run some models. I have been able to successfully run ItemkNN, SLIMElastic, and BPR. However, when I want to run for LightGCN, it give the following error.

Error:
** Traceback (most recent call last):
File "/content/RecBole/run_recbole.py", line 46, in
run(
File "/content/RecBole/recbole/quick_start/quick_start.py", line 52, in run
res = run_recbole(
File "/content/RecBole/recbole/quick_start/quick_start.py", line 137, in run_recbole
model = get_model(config["model"])(config, train_data._dataset).to(config["device"])
File "/content/RecBole/recbole/model/general_recommender/lightgcn.py", line 76, in init
self.norm_adj_matrix = self.get_norm_adj_mat().to(self.device)
File "/content/RecBole/recbole/model/general_recommender/lightgcn.py", line 111, in get_norm_adj_mat
A._update(data_dict)
AttributeError: 'dok_matrix' object has no attribute '_update'. Did you mean: 'update'?**

similarly for MF, I get the following error:
Error:
ValueError: model_name [MF] is not the name of an existing model.

Attached screenshot for both the errors. Thanks in advance
LightGCN
MF

@emrulhasan-nlp emrulhasan-nlp added the bug Something isn't working label Sep 26, 2024
@Fotiligner Fotiligner self-assigned this Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants