I am having problem in unpickling a .pkl file and editing it. I tried the following code but it shows error. How could I proceed?
import pickle
import numpy as np
with open('speech_emotion_data.pkl', 'rb') as pickle_file:
new_data = pickle.load(pickle_file)
it shows error as:
UnpicklingError: invalid load key, '\x1f'.