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
{{ message }}
This repository has been archived by the owner on Oct 15, 2019. It is now read-only.
So, to use the saved parameters, one solution is to replace the parameters after the parameter is initialized and before the training starts. Say, I want to replace w1 by the saved parameter w1_saved, I could insert solver.model.params['w1']=w1_saved between solver.init() and solver.tain().
The code with replacement looks like:
# Initialize model parameters.
solver.init()
# Use saved parameter
solver.model.params['w1'] = w1_saved
# Train!
solver.train()
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
No description provided.
The text was updated successfully, but these errors were encountered: