Closed p-null closed 5 years ago
I reproduced same error and released a quick fix patch. https://github.com/rixwew/pytorch-fm/commit/b75ea00637957d0881fa0db49068b02ca720b0f6 Thank you. @tingkai-zhang
@rixwew same problem in FNFM model
@Drone-Banks thank you for a bug report! I fixed in https://github.com/rixwew/pytorch-fm/commit/dd5aa6d5743b59224d457e77e85154da33ee2a5a, and updated pypi package.
Thanks!
Hi, When
nfm
is used as model, the return value(batch_size, batch_size)
does not have the right shape. This will cause a error when calculating the loss.