LightGCN-PyTorch icon indicating copy to clipboard operation
LightGCN-PyTorch copied to clipboard

The PyTorch implementation of LightGCN

Results 23 LightGCN-PyTorch issues
Sort by recently updated
recently updated
newest added

I'm trying to run the main.py as instructed in the Readme, however I keep getting the below error claiming numpy/ pandas in not installed. However, I have already installed the...

Could you provide a pre_adj_mat.npt as other datasets?

Are there any reference on how to generate the data set? Thanks a lot!

I notice that the embedding_user and embedding_item are initialized by torch.nn.init.normal_, and there is a choice that whether we use pretrained weight or not. In my dataset, the recommendation results...

Thanks your job. how to set is using L1 normalization at the left side only (i.e., LightGCN-L1-L)?

Hi! There's an error when running on the amazon-book dataset. The Python version is 3.8.12 . ``` cd code && python main.py --decay=1e-3 --lr=0.001 --layer=2 --seed=2020 --dataset="amazon-book" --topks="[20, 100, 300]"...

Hi, In the example dataset (amazon, gowalla,...), all of the users in test data has interactions with at least one item. However, I am trying to implement on a problem...

**Following the descriptions of this paper, I try to carry out LightGCN directly based on NGCF model as follows:** ________________________________________________________________________________________________________ def forward(self, users, pos_items, neg_items, drop_flag=True): A_hat = self.sparse_mean_adj ego_embeddings...

对于数据集Gowalla,NGCF中的归一化邻接矩阵mean_adj和LightGCN中的归一化邻接矩阵pre_adj_mat并不相同:NGCF中某一行的各元素均相同且为归一化后的值,而LightGCN中的pre_adj_mat某一行的各元素是不相同的。 我想,是不是因为NGCF中聚合操作使用的是直接归一化的方法,而LightGCN中使用的是对称归一化的方法?

hi, I run the lightgcn using the command you provided in readme file 'cd code && python main.py --decay=1e-4 --lr=0.001 --layer=3 --seed=2020 --dataset="gowalla" --topks="[20]" --recdim=64' However, my loss results in...