You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current version of MLPrimitives will automatically install tensorflow 2.3.4.
This version will encounter the following issue:
/usr/local/lib/python3.6/site-packages/keras/backend.py in <module>
34 from tensorflow.core.protobuf import config_pb2
35 from tensorflow.python.eager import context
---> 36 from tensorflow.python.eager.context import get_config
37 from tensorflow.python.framework import config
38 from keras import backend_config
ImportError: cannot import name 'get_config'
Because of the piece of code from mlprimitives/adapters/keras.py
importloggingimporttempfileimportkeras# this is the line causing errorimportnumpyasnp
Solution
Simply replace
importkeras
as
fromtensorflowimportkeras
The text was updated successfully, but these errors were encountered:
Description
The current version of MLPrimitives will automatically install tensorflow 2.3.4.
This version will encounter the following issue:
Because of the piece of code from
mlprimitives/adapters/keras.py
Solution
Simply replace
as
The text was updated successfully, but these errors were encountered: