-
Notifications
You must be signed in to change notification settings - Fork 193
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
Tensorflow warning #348
Comments
Indeed, there are some TensorFlow warnings related to casting from In your example, the warning comes from the normalization in the custom constellation object. This is currently done by:
I assume that the TensorFlow warning relates to the missing imaginary part in the backward path during gradient computation. However, from the context we know the imaginary component is zero anyhow. A workaround is to use the following normalization:
This will be fixed in the next release of Sionna. |
Hello, thank you for the reply. Is it possible to debug the backward gradient computation step by step to determine the exact step at which this casting problem is happening ? Thank you |
One way is to use Do you see the same warning if you set |
You are right, I do not get warnings when setting WARNING:tensorflow:You are casting an input of type complex64 to an incompatible dtype float32. This will discard the imaginary part and may not be what you intended. and I don't see any warnings when removing Thank you ! |
When executing the autoencoder training notebook https://github.com/NVlabs/sionna/blob/main/examples/Autoencoder.ipynb the model training generates tensorflow warnings "WARNING:tensorflow:You are casting an input of type complex64 to an incompatible dtype float32. This will discard the imaginary part and may not be what you intended."
The warning are supressed with the
tf.get_logger().setLevel('ERROR')
line which I'm removingDoes that mean that the training results are false because we are always supressing the imaginary part because of casting issues ?
How can I debug this issue to know at which level of the code is the casting problem happening ?
The text was updated successfully, but these errors were encountered: