Error while running tensorflow object detection API on jetson tx2

I have been trying to run tensorflow object detection API on Jetson TX2 and I am getting following error

AttributeError: module ‘tensorflow’ has no attribute ‘gfile’

I am running tensorflow 1.13.

Hi,

In TensorFlow v2.0, tf.gfile.* is replaced by tf.io.gfile.*.

Guess that you are using the object detection API downloaded from the GitHub, which should be the latest.
Please check out the v1.13 branch object detection API instead.

Thanks.