tensorflow/ecosystem

Functionality to save the trained model

ShayaNovelis opened this issue · 4 comments

Is there a way to save the trained model or its weights when using MirroredStrategyRunner?

Only chief node can save the model.

https://keras.io/guides/distributed_training/

Is there an example of saving the model when starting with your simple Spark example?

Are there any updates on this?

Only chief node can save the model.

https://keras.io/guides/distributed_training/

ok, but how do you tell the train function to save the model only on the chief node in the Spark API?