Getting Dill Memory Error when loading serialized object, how to fix?
问题 I am getting a dill/pickle memory error when loading a serialized object file. I am not quite sure what is happening and I am unsure on how to fix it. When I call: stat_bundle = train_batch_iterator(clf, TOTAL_TRAINED_EVENTS) The code traces to the train_batch_iterator function in which it loads a serialized object and trains the classifier with the data within the object. This is the code: def train_batch_iterator(clf, tte): plot_data = [] # initialize plot data array for file in glob.glob('