We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HFM adopts HolographicInteractionLayer in fuxictr/pytorch/layers/interaction.py.
HolographicInteractionLayer
fuxictr/pytorch/layers/interaction.py
However, HolographicInteractionLayer may be not available in Pytorch 1.10 because torch.rfft/torch.irfft has changed.\
Here is a solution for reference:
try: from torch import irfft from torch import rfft except ImportError: from torch.fft import irfft2 from torch.fft import rfft2 def rfft(x, d): t = rfft2(x, dim = (-d)) return torch.stack((t.real, t.imag), -1) def irfft(x, d, signal_sizes): return irfft2(torch.complex(x[:,:,0], x[:,:,1]), s = signal_sizes, dim = (-d))
The text was updated successfully, but these errors were encountered:
The issue has been fixed in FuxiCTR v2, which supports pytorch 1.10.
Sorry, something went wrong.
No branches or pull requests
HFM adopts
HolographicInteractionLayer
infuxictr/pytorch/layers/interaction.py
.However,
HolographicInteractionLayer
may be not available in Pytorch 1.10 because torch.rfft/torch.irfft has changed.\Here is a solution for reference:
The text was updated successfully, but these errors were encountered: