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

instavariety dataset .pt annotation file is not loaded. #3

Open
kbc-6723 opened this issue Jun 16, 2022 · 1 comment
Open

instavariety dataset .pt annotation file is not loaded. #3

kbc-6723 opened this issue Jun 16, 2022 · 1 comment

Comments

@kbc-6723
Copy link

kbc-6723 commented Jun 16, 2022

When I try to load the insta_train_db.py and insta_test_db.py using torch.load , i got error in load pickle.
I tried with every pytorch version. 1.1 to 1.11
_pickle.UnpicklingError: invalid load key, '\xc0'

How can I load it?

@mks0601
Copy link
Owner

mks0601 commented Jun 16, 2022

import joblib
db = joblib.load('insta_train_db.pt')

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