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
you can save any model using JSON and save weights
here script code to save any model
`
from keras.models import model_from_json
model_json = discriminator.to_json()
with open("/PATH/discriminator.json", "w") as json_file:
json_file.write(model_json)
discriminator.save_weights("/PATH/discriminator.h5")
print("Saved model to disk")
In the frozen graph, there seems to be only the generator when I print out all the ops. Is there a way to save the discriminator model as well?
The text was updated successfully, but these errors were encountered: