leopiney / deep-forest

An on going implementation of the gcForest algorithm
MIT License
195 stars 57 forks source link

can't save model #8

Open aminobest opened 7 years ago

aminobest commented 7 years ago

Hi,

following the tutorial in deep-forests-example.ipynb, at the end I tried to save the model using something like with open('out.pkl', 'wb') as pickle_file: pickle.dump(mgc_forest, pickle_file, protocol=2) , but then I get TypeError: can't pickle _thread.RLock objects.

Is there a way to save the model for later use?