'Error when loading a sequential deep model by keras.models.model_from_json(loaded_model_json)
I am trying to load a sequential deep model by tensorflow 1.5 and I get the following error.
if 'class_name' not in config[0] or config[0]['class_name'] == 'Merge': KeyError: 0
I know this is because I created and trained the model by tensorflow 2.7 and one way to solve it is to upgrade the tensorflow in the server that I wanna run the model on. But because of the server's old CPUs I cannot install tensorflow > 1.5. Can someone advise me what is a solution for this situation rather than retraining the model in tensorflow 1.5?
I appreciate any help
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
