Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I initialize my new model using the older model stored in the pkl file #1558

Open
YangShuguang opened this issue Oct 10, 2015 · 1 comment

Comments

@YangShuguang
Copy link

In the train.Train class, I try to use the pickle.load() method to load the old model which is stored in the pkl file. (self.model=pickle.load(***.pkl)).but in the runing time, It can not go though the _sanity_check() . I am very confused. I completely do not know how to initialize new model using the older model stored in the pkl file. the above method is just my trial way. can you tell me the right way? Thanks very much

@bfis
Copy link

bfis commented Nov 14, 2015

Try using pylearn2.monitor.push_monitor to get rid of your old monitor since a there is some sort of stale data in it tripping the _sanity_check().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants