grammarly / gector

Official implementation of the papers "GECToR – Grammatical Error Correction: Tag, Not Rewrite" (BEA-20) and "Text Simplification by Tagging" (BEA-21)
Apache License 2.0
900 stars 214 forks source link

TypeError: an integer is required (got type bytes) #132

Closed ghost closed 3 years ago

ghost commented 3 years ago

Hi, after I pip install -r requirement.txt and run train.py, there is error in the picture. I wonder how to solve this envirenment problem?

image

skurzhanskyi commented 3 years ago

I just checked - everything works. Maybe there is a problem with conda environment?

ghost commented 3 years ago

I just checked - everything works. Maybe there is a problem with conda environment?

yes, I re-build the environment, this problem is solved. Thanks for your reply !