Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: insecure string pickle #1

Closed
paolomanchisi opened this issue Nov 3, 2017 · 1 comment
Closed

ValueError: insecure string pickle #1

paolomanchisi opened this issue Nov 3, 2017 · 1 comment

Comments

@paolomanchisi
Copy link

Hi, with Python 2.7 under windows I get this error:

Traceback (most recent call last):
  File "detect_poses.py", line 9, in <module>
    train_model = pickle.load(pickle_file)['log']
  File "c:\Python27\lib\pickle.py", line 1384, in load
    return Unpickler(file).load()
  File "c:\Python27\lib\pickle.py", line 864, in load
    dispatch[key](self)
  File "c:\Python27\lib\pickle.py", line 972, in load_string
    raise ValueError, "insecure string pickle"
ValueError: insecure string pickle

Can you help?
Thnak you.

@ironfist2
Copy link
Owner

Sorry for the late reply. Apparently it was because of an unclosed file 'train_model.pickle' in the code in trainer.py. Now It has been resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants