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

Error when loading pretrained weights #13

Open
ahkarami opened this issue May 25, 2018 · 0 comments
Open

Error when loading pretrained weights #13

ahkarami opened this issue May 25, 2018 · 0 comments

Comments

@ahkarami
Copy link

Dear @ignacio-rocco,
Thank you for your fantastic work. When I want to run your demo_FPN code, I get this error:

Loading pretrained weights:
Traceback (most recent call last):
  File "SampleRun1.py", line 102, in <module>
    mask_head_type='1up4convs')
  File ".../detectorch/lib/model/detector.py", line 226, in __init__
    self.load_pretrained_weights(detector_pkl_file, model='detector')
  File ".../detectorch/lib/model/detector.py", line 294, in load_pretrained_weights
    caffe_data = pickle.load(f, encoding='latin1')
ValueError: could not convert string to int

Would you please kindly help me to address this error?

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

1 participant