lisa-lab/pylearn2

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

Opened this issue · 1 comments

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 commented

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().