Is there a way to save and recover a trained Neural Network in PyBrain, so that I don’t have to retrain it each time I run the script?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
PyBrain’s Neural Networks can be saved and loaded using either python’s built in pickle/cPickle module, or by using PyBrain’s XML NetworkWriter.
Note cPickle is implemented in C, and therefore should be much faster than pickle. Usage should mostly be the same as pickle, so just import and use cPickle instead.