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: invalid load key, '<'. #146

Open
bnmlls opened this issue Aug 17, 2023 · 0 comments
Open

Error: invalid load key, '<'. #146

bnmlls opened this issue Aug 17, 2023 · 0 comments

Comments

@bnmlls
Copy link

bnmlls commented Aug 17, 2023

I'm new to MedCATtrainer. When I click on a project I'm met with this error and not sure where I've gone wrong. Any help would be greatly appreciated.

Error: invalid load key, '<'.
Full Error:

Traceback (most recent call last):
File "/home/api/./api/views.py", line 256, in prepare_documents
cat = get_medcat(CDB_MAP=CDB_MAP, VOCAB_MAP=VOCAB_MAP,
File "/home/api/./api/utils.py", line 299, in get_medcat
cdb = CDB.load(cdb_path)
File "/usr/local/lib/python3.10/site-packages/medcat/cdb.py", line 477, in load
cdb = ser.deserialize(CDB)
File "/usr/local/lib/python3.10/site-packages/medcat/utils/saving/serializer.py", line 167, in deserialize
data = dill.load(f)
File "/usr/local/lib/python3.10/site-packages/dill/_dill.py", line 287, in load
return Unpickler(file, ignore=ignore, **kwds).load()
File "/usr/local/lib/python3.10/site-packages/dill/_dill.py", line 442, in load
obj = StockUnpickler.load(self)
_pickle.UnpicklingError: invalid load key, '<'.

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