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

Unpickling error while running run_inference function #6

Closed
Mehulk08 opened this issue Jun 21, 2022 · 2 comments
Closed

Unpickling error while running run_inference function #6

Mehulk08 opened this issue Jun 21, 2022 · 2 comments

Comments

@Mehulk08
Copy link

starting

UnpicklingError Traceback (most recent call last)
in ()
138
139 if name == 'main':
--> 140 run_inference()
141

5 frames
/usr/local/lib/python3.7/dist-packages/torch/serialization.py in _legacy_load(f, map_location, pickle_module, **pickle_load_args)
918 "functionality.")
919
--> 920 magic_number = pickle_module.load(f, **pickle_load_args)
921 if magic_number != MAGIC_NUMBER:
922 raise RuntimeError("Invalid magic number; corrupt file?")

UnpicklingError: invalid load key, 'v'.

@thomaskuestner
Copy link
Member

Can you please provide some more information?
In case you are trying to run the inference on the provided data samples in the repository, did you ensure that the GIT LFS files were correctly downloaded?

@thomaskuestner
Copy link
Member

Closing it, please reopen if the problem still persists.

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