> Traceback (most recent call last):


 "../tensorrt/tftrt/examples/image-classification/image_classification.py", line 30, in <module>

import official.resnet.imagenet_main


 "/home/nvidia/mobilenet/models/official/resnet/imagenet_main.py", line 27, in <module>

from official.utils.flags import core as flags_core


 "/home/nvidia/mobilenet/models/official/utils/flags/core.py", line 30, in <module>

from official.utils.flags import _base


 "/home/nvidia/mobilenet/models/official/utils/flags/_base.py", line 25, in <module>

from official.utils.logs import hooks_helper


 "/home/nvidia/mobilenet/models/official/utils/logs/hooks_helper.py", line 29, in <module>

from official.utils.logs import hooks


 "/home/nvidia/mobilenet/models/official/utils/logs/hooks.py", line 28, in <module>

class ExamplesPerSecondHook(tf.estimator.SessionRunHook):
AttributeError: module 'tensorflow.estimator' has no attribute 'SessionRunHook'

Traceback (most recent call last):


 "Scripts/webcam_demo.py", line 34, in <module>

label_colours = cv2.imread(args.colours).astype(np.uint8)
AttributeError: 'NoneType' object has no attribute 'astype'
