Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pickle
- with open('filename','w') as f:
- pickle.dump(model, f)
- 'utf-8' codec can't decode byte 0x86 in position 4: invalid start byte
- import pickle
- with open('filename','rb') as f:
- model = pickle.load(f, encoding='UTF-8')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement