TensorRT4 uff Parser error.[Unsupport operation]

I just followed the introdution convert a keras vgg19 model and convert it to a trt engine. It worked properly.

However, when I try the same job on keras.applications.resnet50, it raised unsupport opperation error.

Ubuntu 16.0.4
GPU tesla p100
tensorflow 1.10
keras 2.2.2
python 3.5
cuda 9.0
cudnn 7.1.3

No. nodes: 3727
[TensorRT] ERROR: UFFParser: Validator error: bn/cond/FusedBatchNorm/Switch_1: Unsupported operation _Switch
[TensorRT] ERROR: Failed to parse UFF model stream
File “/usr/local/lib/python3.5/dist-packages/tensorrt/utils/_utils.py”, line 255, in uff_to_trt_engine
assert(parser.parse(stream, network, model_datatype))
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/tensorrt/utils/_utils.py”, line 255, in uff_to_trt_engine
assert(parser.parse(stream, network, model_datatype))
AssertionError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/home/wang/PycharmProjects/Test_VGG_Tensorrt/create_engine.py”, line 44, in
create_and_save_inference_engine()
File “/home/wang/PycharmProjects/Test_VGG_Tensorrt/create_engine.py”, line 29, in create_and_save_inference_engine
trt.infer.DataType.FLOAT)
File “/usr/local/lib/python3.5/dist-packages/tensorrt/utils/_utils.py”, line 263, in uff_to_trt_engine
raise AssertionError(‘UFF parsing failed on line {} in statement {}’.format(line, text))
AssertionError: UFF parsing failed on line 255 in statement assert(parser.parse(stream, network, model_datatype))

Process finished with exit code 1

Could anyone figure it out, thanks alot.

This is a duplicate post. https://devtalk.nvidia.com/default/topic/1038905/tensorrt/tensorrt-error-unsupport-opperation/