Closed Scot-Survivor closed 1 year ago
Explitictly I run:
itex.set_backed('GPU')
itex.experimental_ops_override()
After the imports mentioned above.
@Scot-Survivor This issue is due to the keras api change, please try with TensorFlow version 2.12 and keras 2.12
I can confirm after a downgrade this error has gone away.
What is interesting is keras.engine does indeed exist, due to the fact Tensorflow is installed, I have my imports setup like this:
there was a similar error with the hugging face repository, due to trying to import keras.engine directly, when it was in fact installed along side Tensorflow.
Installed packages: