PreferredAI / cornac

A Comparative Framework for Multimodal Recommender Systems
https://cornac.preferred.ai
Apache License 2.0
845 stars 138 forks source link

LightGCN/NGCF with cornac.hyperopt #593

Open SavvinaDaniil opened 5 months ago

SavvinaDaniil commented 5 months ago

Description

Hi! I have an issue when trying to do parameter search with either LightGCN or NGCF. Looking at the param_search.py example, when I run it as is, it works normally. When I try to replace the models with either LightGCN or NGCF, I get an error as shown in the screenshot.

Screenshot 2024-01-26 at 15 36 56

The error happens after the training with the first option of the search. The error does not appear when doing a normal experiment, only with the search (either Grid or Random).

tqtg commented 5 months ago

In order for us to better localize the issue, you should provide us with all the code to reproduce the error.