Импорт pycocotools._mask as _mask error ожидается 80, получил 88

remove the pycocotools 
>> pip uninstall pycocotools

instead of using pip, try using this:
>> pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI
Merwanski