Getting UnpicklingError: invalid load key, 'v'

Hello, I have been trying to deploy my app for over 2 days and have got countless errors, now I am stuck at this one.
It shows
UnpicklingError: invalid load key, ‘v’.


File "/usr/local/lib/python3.7/site-packages/streamlit/", line 332, in _run_script
    exec(code, module.__dict__)File "/app/streamlit/", line 81, in <module>
    model.load_state_dict(torch.load(weights_file, map_location=device))File "/home/appuser/.local/lib/python3.7/site-packages/torch/", line 529, in load
    return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)File "/home/appuser/.local/lib/python3.7/site-packages/torch/", line 692, in _legacy_load
    magic_number = pickle_module.load(f, **pickle_load_args)

My github repo is in
Pls help me , I am damn frustated !!

Hey @randyzwitch, the question I asked was different from this, that’s why I started a new question

They literally have the same title, what’s the difference in the questions?


In The first question, the error is in the local host, where I put the wrong file
IN the second one, The problem is in sharing the app, the is not able to large file through git lfs.
Can you please close this one instead of that one.