Python Script Node:
…
model.fit(…its a lstm model…)
from keras.models import load_model
output_object_1 = model.save(‘my_model’,save_format=‘h5’)
…
python script node to -----> model writer node (’…h5’
its not working while loading the model with keras network reader + i tried to open the saved h5 model, its empty no values… kindly correct me how to carry this////////
(No need to pose this question in multiple threads, we can work on the problem here )
Can you try using the DL Python Network Creator node instead of the Python Script node? Then downstream from that, you might try a Keras Network Writer instead of the Model Writer.
@rupakroy maybe you could check out this entry. I tried to set up a working Conda environment propagation specific for the needs of Keras and Tensorflow 2. It does work with MacOS and the Keras part also on Windows (I had trouble installing TF2).