Error in extracting features

you can follow the procedure shown here to save and load models.