Hii users, I am getting invalid load key error while loading a pickle,
UnpicklingError: invalid load key, ‘v’ Traceback: File “/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 552, in _run_script exec(code, module.dict) File “/mount/src/movie-recommender-web-application/app.py”, line 36, in similarity = pickle.load(open(‘similarity.pkl’, ‘rb’))
- I’ve made sure that the pickle file is in the same directory as my app.py file.
- Here is the error I got:
-
Here is loading of pickle
-
Here is the requirements.txt
I am using similarity.pkl, uploaded through git LFS, used by app.py in this following project
LINK
Here is Deploy_of_project
pickle version 4.0,
Streamlit version 1.25.0
Please help me resolving this error.