Closed helga-lvl closed 4 years ago
@helga-lvl : How did you solve this issue? I'm also getting the same issue?
AttributeError: module '_pickle' has no attribute 'HIGHEST_PROTOCOL'
I have encountered the same exact problem, I was also running the model on Python 3.7. @ottokart Do you have any clue about this error? @helga-lvl if you have already solved this problem, can you guide us on how you did it?
Punctuator2 was originally implemented in Python 2.7. Python3 no longer has the attribute HIGHEST_PROTOCOL so I removed it in the latest pushed commit: https://github.com/ottokart/punctuator2/commit/8edec709146bf55f6833334ae8d6fbf9dd6a329b
Hey!
I was running the model (on Python 3.7.3) with around 200 megabytes of data. After 11 hours and 10 epochs of training, I got the following message:
Then I decided to see what the next step would give me and I got:
cat terrafoldernormallt/unurlnorm.dev.txt | python punctuator.py Model_models.py_h256_lr0.02.pcl model_output.pcl
Any help would be greatly appreciated, thanks!