jina
jina copied to clipboard
ABOUT 'JinaLogger.__init__.<locals>.<lambda>'
when i use pickle to dump tfidfvectorizer, it throws AttributeError: Can't pickle local object JinaLogger init "locals""lambda"
Hello @Elvisambition ,
Where can I see the code of this TFIDFVectorizer
?
You can always define the methods:
def __getstate__(self):
def __setstate__(self, d):
to avoid pickling unpickable objects and to recreate them after unpickling
Hello @Elvisambition ,
Is this still an issue?
I will close for now, if you encounter the problem again, please reopen with more details