Skip to content Skip to sidebar Skip to footer

Cntk Python Api - Continue Training A Model

I have tried the example The example works fine. I can restart the training, but am unable to continue the training after a model has been trained. I have tried agent.brain.mod

Solution 1:

The error message says that the load_model function does not have 2 arguments. You need to change that to

agent.brain.model.load_model('setBdqn.mod')

I'm assuming that you changed the call to save_model to be agent.brain.model.save_model('setBdqn.mod', False) - the tutorial examples saves the model to a file named dqn.mod.

Post a Comment for "Cntk Python Api - Continue Training A Model"