diff --git a/recbole/model/context_aware_recommender/fwfm.py b/recbole/model/context_aware_recommender/fwfm.py index a5f7ab2cd..7013c7848 100644 --- a/recbole/model/context_aware_recommender/fwfm.py +++ b/recbole/model/context_aware_recommender/fwfm.py @@ -61,7 +61,6 @@ def __init__(self, config, dataset): self.weight = torch.randn( self.num_fields, self.num_fields, 1, requires_grad=True, device=self.device ) - self.loss = nn.BCEWithLogitsLoss() # parameters initialization