Convert-to-uff attributeerror: module 'tensorflow' has no attribute 'gfile'

When trying to run tensorrt sampleUffSSD, I’m getting the below error which searching I think is related to this expecting tensorflow version 1.15 with associated nvidia whl file under python 3.6. Container is tensorflow 2.x and python 3.8 so unable to run sample with the version mismatches.

attributeerror: module ‘tensorflow’ has no attribute ‘gfile’ tensorrt

https://developer.download.nvidia.com/compute/redist/jp/v44/tensorflow/

Hi @jeremy.cothran,

Could you please give more details on how you’re redirected to the above link and which repo are you referring to run sampleUffSSD.
You can also try NGC tensorflow container, please check release notes and choose the container matches your requirement.

Thank you.