Closed MsJellyKing closed 1 year ago
It could be. Would you please try the dev version of dlpy? (git clone and add sys.path instead of pip install)
I have cloned the dev version and reran the code. I now get a different error. Please see below:
This error message is from Keras, not DLPy. The function get_config() returns a Python dict that contains the configuration of the layer. Looks like something went wrong with the layer itself.
Hi,
I am trying to import a Keras cnn model and receiving the below error.
code : model1,use_gpu = dlpy.Model.from_keras_model(conn=sess, keras_model=keras_test, output_model_table='converted_keras_model' )
Error: ImportError: cannot import name 'preprocess_weights_for_loading' from 'keras.engine.saving' (/opt/conda/lib/python3.8/site-packages/keras/engine/saving.py)
dlpy version 1.2 keras version 2.6
Could this be a version compatibility issue?
Thanks