Skip to content
New issue

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

working with complex values #15

Open
NorthernPeach opened this issue Nov 1, 2022 · 2 comments
Open

working with complex values #15

NorthernPeach opened this issue Nov 1, 2022 · 2 comments

Comments

@NorthernPeach
Copy link

Hello,
i'm trying to run your code but there are many errors for the complex number tensors, e.g.
RuntimeError: "batch_norm_stats_cuda" not implemented for 'ComplexFloat'

I'm curious about how you run the code. Could you share please, how shall I run it, in order to avoid these messages?

@tomer196
Copy link
Owner

tomer196 commented Nov 2, 2022

Did you install the dependencies using the requirement file?
pip install -r requirement.txt

I run the code with torch==1.4. In newer versions of torch they introduce complex data type and change the FFT API. It is not complicate to adjust the code to newer torch versions if you prefer.

@NorthernPeach
Copy link
Author

I reinstalled in again, and it works now
thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants