-
Notifications
You must be signed in to change notification settings - Fork 21
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
No module named 'tensorflow.python.keras.mixed_precision.experimental' #48
Comments
Most likely you don't have TensorFlow installed; I've made the error message more informative in the latest version. Try via
and paste the error here if it doesn't mention lack of TensorFlow install. |
Same error, here is the output:
And packages already installed:
|
It cannot be the same error; try |
After uninstalling and installing:
|
Unsure what the problem is, need debug info:
|
Changing init.py
Output:
Changing first line of init.py
|
Could this be linked somehow with the issue? https://www.tensorflow.org/api_docs/python/tf/keras/mixed_precision/experimental/LossScaleOptimizer
|
Possibly, yes. The last tested TF version of Thanks for the report, but I'm afraid the only current solution is downgrading TensorFlow. |
Seems to be working up to version 2.9.0 so far, 10 and 11 throw the exception.. |
Hey, so what I did was I went to the venv\Lib\site-packages\deepasr\model\deepasrnetwork1.py and venv\lib\site-packages\deepasr\model\deepspeech2.py and change the the line "from tensorflow.keras.mixed_precision import experimental as mixed_precision" to "from tensorflow.keras.mixed_precision import *" |
I'm suffering a strange behaviour when importing the gradients functions:
Set up
pip install see-rnn
test.py
Error
Sames happen with "get_layer_gradients".
The text was updated successfully, but these errors were encountered: