Closed LoganKells closed 2 years ago
Is release_data/sentiment/sentiment_suite_37.pkl
a suite you created?
If so, it seems like you're trying to use the predictions for another suite (from release_data/sentiment/predictions/bert
) to run it?
marcotcr,
No it is not. There is an issue where the given sentiment_suite.pkl
was created in an older version of python (such as 3.5) which is incompatible with 3.8+. Therefore I had to install Python 3.7, load the .pkl, then save it to a .pkl which is compatible with modern versions of Python.
Hm, can you run the suite on Python 3.7? I suspect the pickled expectation functions may not have transferred to 3.8 when you did the pickling
What version of Python did you use to create the .pkl?
3.6.8, and I've checked that also works on 3.6.9. I haven't tried 3.8
It does load w/o the error I saw with python 3.6.8.
When I run the sentinment suite I'm getting the following error, which I do not know how to debug. It occurs in line
This is the code I'm using to run.
This is the traceback to this line.