Closed Tianyi-Billy-Ma closed 1 week ago
In the file models/lgmrec.py line 118, why assign the gumble_softmax value of ut_hyper to uv_hyper?
The source code is uv_hyper = F.gumbel_softmax(ut_hyper, self.tau, dim=1, hard=False).
uv_hyper = F.gumbel_softmax(ut_hyper, self.tau, dim=1, hard=False)
Isn't this should be ut_hyper = F.gumbel_softmax(ut_hyper, self.tau, dim=1, hard=False)?
ut_hyper = F.gumbel_softmax(ut_hyper, self.tau, dim=1, hard=False)
Thank you for your thorough inspection. You are right and I have made the following modifications:
ut_hyper = F.gumbel_softmax(ut_hyper, self.tau, dim=1, hard=False).
In the file models/lgmrec.py line 118, why assign the gumble_softmax value of ut_hyper to uv_hyper?
The source code is
uv_hyper = F.gumbel_softmax(ut_hyper, self.tau, dim=1, hard=False)
.Isn't this should be
ut_hyper = F.gumbel_softmax(ut_hyper, self.tau, dim=1, hard=False)
?