ecosystem icon indicating copy to clipboard operation
ecosystem copied to clipboard

Functionality to save the trained model

Open ShayaNovelis opened this issue 4 years ago • 4 comments

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

ShayaNovelis avatar Feb 11 '21 17:02 ShayaNovelis

Only chief node can save the model.

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

marcialf avatar Mar 21 '21 21:03 marcialf

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

alexperry-shifu avatar Apr 16 '21 21:04 alexperry-shifu

Are there any updates on this?

rahulnatarajan98 avatar Jul 13 '21 15:07 rahulnatarajan98

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?

tomersagi avatar Dec 20 '21 12:12 tomersagi