运行models\research\object_detection\model_main_tf2.py文件时出现错误。

使用tensorflow object detection API进行模型训练时,运行models\research\object_detection\model_main_tf2.py文件时出现错误。
model_main_tf2.py如下:

错误提示如下:

TypeError: init(): incompatible constructor arguments. The following argument types are supported:
1. tensorflow.python.lib.io._pywrap_file_io.BufferedInputStream(filename: str, buffer_size: int, token: tensorflow.python.lib.io._pywrap_file_io.TransactionToken = None)

Invoked with: None, 524288

请问各位如何解决?

https://github.com/tensorflow/models/issues/9864
那跟你一样看看