Coder-Yu / SELFRec

An open-source framework for self-supervised recommender systems.
516 stars 76 forks source link

关于框架中lightgcn正则损失的问题 #61

Closed akajinchen closed 7 months ago

akajinchen commented 7 months ago

https://github.com/Coder-Yu/SELFRec/blob/d18d78aa8a1946a26d326ec408edbf560848a1f6/model/graph/LightGCN.py#L26 这里的l2正则为什么还需要除以batchsize?

Coder-Yu commented 7 months ago

不除也可以,影响没那么大,似乎除了好些