TF retinanet to TRT conversion using TF--> ONNX --> TRT

Linux distro and version: Ubuntu 18.04.2 LTS
o GPU type: GV104 [GeForce GTX 1180]
o Nvidia driver version: 440.33.01
o CUDA version: 10.2
o CUDNN version: 7.6.5
o Python version [if using python]: 3.6
o Tensorflow version: 14
o TensorRT version: TensorRT 6.0.1

I was trying to convert model trained using https://github.com/Thinklab-SJTU/R3Det_Tensorflow to onnx first using below command

‘’‘python -m tf2onnx.convert --opset 11 --fold_const --checkpoint Oriented_Retinanet_04_03_2020/DOTA_39999model.ckpt.meta --inputs image_tensor:0 --outputs tower_0/build_loss/mul_8:0,tower_0/build_refine_loss/mul_8:0,tower_0/build_refine_loss/mul_9:0,tower_0/build_loss/mul_9:0 --output ret.onnx’’’

The error trace is below

2020-03-11 19:30:45,306 - WARNING - inputs [image_tensor:0] is not in frozen graph, delete them
2020-03-11 19:30:46,886 - INFO - Using tensorflow=1.14.0, onnx=1.6.0, tf2onnx=1.5.5/3c8f90
2020-03-11 19:30:46,886 - INFO - Using opset <onnx, 11>
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for get_batch/batch: get_batch/batch:0,get_batch/batch:1,get_batch/batch:2,get_batch/batch:3,get_batch/batch:4,get_batch/batch:5
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for strided_slice: strided_slice:0
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for ExpandDims: ExpandDims:0
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for truediv: truediv:0
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for strided_slice_1: strided_slice_1:0
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for PyFunc: PyFunc:0
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for strided_slice_2: strided_slice_2:0
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for strided_slice_7: strided_slice_7:0
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for strided_slice_8: strided_slice_8:0
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for strided_slice_9: strided_slice_9:0
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for tower_0/PyFunc: tower_0/PyFunc:0,tower_0/PyFunc:1
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for tower_0/crop_to_bounding_box/Greater: tower_0/crop_to_bounding_box/Greater:0
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for tower_0/crop_to_bounding_box/Greater_1: tower_0/crop_to_bounding_box/Greater_1:0
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for tower_0/crop_to_bounding_box/add: tower_0/crop_to_bounding_box/add:0
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for tower_0/crop_to_bounding_box/GreaterEqual: tower_0/crop_to_bounding_box/GreaterEqual:0
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for tower_0/crop_to_bounding_box/add_1: tower_0/crop_to_bounding_box/add_1:0
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for tower_0/crop_to_bounding_box/GreaterEqual_1: tower_0/crop_to_bounding_box/GreaterEqual_1:0
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for tower_0/crop_to_bounding_box/control_dependency: tower_0/crop_to_bounding_box/control_dependency:0
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for tower_0/make_anchors/make_anchors_all_level/PyFunc: tower_0/make_anchors/make_anchors_all_level/PyFunc:0
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for tower_0/make_anchors/make_anchors_all_level/Reshape/tensor: tower_0/make_anchors/make_anchors_all_level/Reshape/tensor:0
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for tower_0/make_anchors/make_anchors_all_level/PyFunc_1: tower_0/make_anchors/make_anchors_all_level/PyFunc_1:0
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for tower_0/make_anchors/make_anchors_all_level/Reshape_1/tensor: tower_0/make_anchors/make_anchors_all_level/Reshape_1/tensor:0
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for tower_0/make_anchors/make_anchors_all_level/PyFunc_2: tower_0/make_anchors/make_anchors_all_level/PyFunc_2:0
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for tower_0/make_anchors/make_anchors_all_level/Reshape_2/tensor: tower_0/make_anchors/make_anchors_all_level/Reshape_2/tensor:0
2020-03-11 19:30:46,914 - WARNING - Cannot infer shape for tower_0/make_anchors/make_anchors_all_level/PyFunc_3: tower_0/make_anchors/make_anchors_all_level/PyFunc_3:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/make_anchors/make_anchors_all_level/Reshape_3/tensor: tower_0/make_anchors/make_anchors_all_level/Reshape_3/tensor:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/make_anchors/make_anchors_all_level/PyFunc_4: tower_0/make_anchors/make_anchors_all_level/PyFunc_4:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/make_anchors/make_anchors_all_level/Reshape_4/tensor: tower_0/make_anchors/make_anchors_all_level/Reshape_4/tensor:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/build_loss/PyFunc: tower_0/build_loss/PyFunc:0,tower_0/build_loss/PyFunc:1,tower_0/build_loss/PyFunc:2,tower_0/build_loss/PyFunc:3
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/build_loss/NotEqual: tower_0/build_loss/NotEqual:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/build_loss/GatherV2_1: tower_0/build_loss/GatherV2_1:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/build_loss/sub: tower_0/build_loss/sub:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/build_loss/mul_3: tower_0/build_loss/mul_3:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/build_loss/sub_3: tower_0/build_loss/sub_3:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/build_loss/mul_4: tower_0/build_loss/mul_4:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/build_loss/add_1: tower_0/build_loss/add_1:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/build_loss/Equal: tower_0/build_loss/Equal:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/build_loss/Equal_1: tower_0/build_loss/Equal_1:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/build_loss/GatherV2_4: tower_0/build_loss/GatherV2_4:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/build_loss/Equal_2: tower_0/build_loss/Equal_2:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/Squeeze: tower_0/refine_feature_pyramid/Squeeze:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/Squeeze_1: tower_0/refine_feature_pyramid/Squeeze_1:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/Squeeze_2: tower_0/refine_feature_pyramid/Squeeze_2:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/Squeeze_3: tower_0/refine_feature_pyramid/Squeeze_3:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/Squeeze_4: tower_0/refine_feature_pyramid/Squeeze_4:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/Squeeze_5: tower_0/refine_feature_pyramid/Squeeze_5:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/Squeeze_6: tower_0/refine_feature_pyramid/Squeeze_6:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/Squeeze_7: tower_0/refine_feature_pyramid/Squeeze_7:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/Squeeze_8: tower_0/refine_feature_pyramid/Squeeze_8:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/Squeeze_9: tower_0/refine_feature_pyramid/Squeeze_9:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/Squeeze_10: tower_0/refine_feature_pyramid/Squeeze_10:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/Squeeze_11: tower_0/refine_feature_pyramid/Squeeze_11:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/Squeeze_12: tower_0/refine_feature_pyramid/Squeeze_12:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/Squeeze_13: tower_0/refine_feature_pyramid/Squeeze_13:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/Squeeze_14: tower_0/refine_feature_pyramid/Squeeze_14:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/Squeeze_15: tower_0/refine_feature_pyramid/Squeeze_15:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/Squeeze_16: tower_0/refine_feature_pyramid/Squeeze_16:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/Squeeze_17: tower_0/refine_feature_pyramid/Squeeze_17:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/Squeeze_18: tower_0/refine_feature_pyramid/Squeeze_18:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/Squeeze_19: tower_0/refine_feature_pyramid/Squeeze_19:0
2020-03-11 19:30:46,915 - WARNING - Cannot infer shape for tower_0/build_loss/logistic_loss/mul: tower_0/build_loss/logistic_loss/mul:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/build_loss/logistic_loss/sub: tower_0/build_loss/logistic_loss/sub:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/build_loss/logistic_loss: tower_0/build_loss/logistic_loss:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/build_loss/mul_1: tower_0/build_loss/mul_1:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/build_loss/mul_2: tower_0/build_loss/mul_2:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/build_loss/add: tower_0/build_loss/add:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/build_loss/sub_2: tower_0/build_loss/sub_2:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/build_loss/Pow: tower_0/build_loss/Pow:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/build_loss/mul_5: tower_0/build_loss/mul_5:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/build_loss/mul_6: tower_0/build_loss/mul_6:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/build_loss/Sum: tower_0/build_loss/Sum:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/build_loss/truediv: tower_0/build_loss/truediv:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/build_loss/mul_8: tower_0/build_loss/mul_8:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/build_loss/sub_4: tower_0/build_loss/sub_4:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/build_loss/Less: tower_0/build_loss/Less:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/build_loss/Pow_1: tower_0/build_loss/Pow_1:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/build_loss/mul_7: tower_0/build_loss/mul_7:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/build_loss/sub_5: tower_0/build_loss/sub_5:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/build_loss/Select: tower_0/build_loss/Select:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/build_loss/Sum_1: tower_0/build_loss/Sum_1:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/build_loss/truediv_1: tower_0/build_loss/truediv_1:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/build_loss/mul_9: tower_0/build_loss/mul_9:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/GatherNd_2: tower_0/refine_feature_pyramid/GatherNd_2:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/GatherNd_3: tower_0/refine_feature_pyramid/GatherNd_3:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/GatherNd_4: tower_0/refine_feature_pyramid/GatherNd_4:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/GatherNd_5: tower_0/refine_feature_pyramid/GatherNd_5:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/mul_7: tower_0/refine_feature_pyramid/mul_7:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/mul_9: tower_0/refine_feature_pyramid/mul_9:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/add_8: tower_0/refine_feature_pyramid/add_8:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/mul_11: tower_0/refine_feature_pyramid/mul_11:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/add_9: tower_0/refine_feature_pyramid/add_9:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/mul_13: tower_0/refine_feature_pyramid/mul_13:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/add_10: tower_0/refine_feature_pyramid/add_10:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/GatherNd_8: tower_0/refine_feature_pyramid/GatherNd_8:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/GatherNd_9: tower_0/refine_feature_pyramid/GatherNd_9:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/GatherNd_10: tower_0/refine_feature_pyramid/GatherNd_10:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/GatherNd_11: tower_0/refine_feature_pyramid/GatherNd_11:0
2020-03-11 19:30:46,916 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/mul_21: tower_0/refine_feature_pyramid/mul_21:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/mul_23: tower_0/refine_feature_pyramid/mul_23:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/add_20: tower_0/refine_feature_pyramid/add_20:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/mul_25: tower_0/refine_feature_pyramid/mul_25:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/add_21: tower_0/refine_feature_pyramid/add_21:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/mul_27: tower_0/refine_feature_pyramid/mul_27:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/add_22: tower_0/refine_feature_pyramid/add_22:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/GatherNd_14: tower_0/refine_feature_pyramid/GatherNd_14:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/GatherNd_15: tower_0/refine_feature_pyramid/GatherNd_15:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/GatherNd_16: tower_0/refine_feature_pyramid/GatherNd_16:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/GatherNd_17: tower_0/refine_feature_pyramid/GatherNd_17:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/mul_35: tower_0/refine_feature_pyramid/mul_35:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/mul_37: tower_0/refine_feature_pyramid/mul_37:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/add_32: tower_0/refine_feature_pyramid/add_32:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/mul_39: tower_0/refine_feature_pyramid/mul_39:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/add_33: tower_0/refine_feature_pyramid/add_33:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/mul_41: tower_0/refine_feature_pyramid/mul_41:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/add_34: tower_0/refine_feature_pyramid/add_34:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/GatherNd_20: tower_0/refine_feature_pyramid/GatherNd_20:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/GatherNd_21: tower_0/refine_feature_pyramid/GatherNd_21:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/GatherNd_22: tower_0/refine_feature_pyramid/GatherNd_22:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/GatherNd_23: tower_0/refine_feature_pyramid/GatherNd_23:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/mul_49: tower_0/refine_feature_pyramid/mul_49:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/mul_51: tower_0/refine_feature_pyramid/mul_51:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/add_44: tower_0/refine_feature_pyramid/add_44:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/mul_53: tower_0/refine_feature_pyramid/mul_53:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/add_45: tower_0/refine_feature_pyramid/add_45:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/mul_55: tower_0/refine_feature_pyramid/mul_55:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/add_46: tower_0/refine_feature_pyramid/add_46:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/GatherNd_26: tower_0/refine_feature_pyramid/GatherNd_26:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/GatherNd_27: tower_0/refine_feature_pyramid/GatherNd_27:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/GatherNd_28: tower_0/refine_feature_pyramid/GatherNd_28:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/GatherNd_29: tower_0/refine_feature_pyramid/GatherNd_29:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/mul_63: tower_0/refine_feature_pyramid/mul_63:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/mul_65: tower_0/refine_feature_pyramid/mul_65:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/add_56: tower_0/refine_feature_pyramid/add_56:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/mul_67: tower_0/refine_feature_pyramid/mul_67:0
2020-03-11 19:30:46,917 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/add_57: tower_0/refine_feature_pyramid/add_57:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/mul_69: tower_0/refine_feature_pyramid/mul_69:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/refine_feature_pyramid/add_58: tower_0/refine_feature_pyramid/add_58:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/PyFunc: tower_0/build_refine_loss/PyFunc:0,tower_0/build_refine_loss/PyFunc:1,tower_0/build_refine_loss/PyFunc:2,tower_0/build_refine_loss/PyFunc:3
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/NotEqual: tower_0/build_refine_loss/NotEqual:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/GatherV2_1: tower_0/build_refine_loss/GatherV2_1:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/logistic_loss/mul: tower_0/build_refine_loss/logistic_loss/mul:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/logistic_loss/sub: tower_0/build_refine_loss/logistic_loss/sub:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/logistic_loss: tower_0/build_refine_loss/logistic_loss:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/mul_1: tower_0/build_refine_loss/mul_1:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/sub: tower_0/build_refine_loss/sub:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/mul_2: tower_0/build_refine_loss/mul_2:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/add: tower_0/build_refine_loss/add:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/sub_2: tower_0/build_refine_loss/sub_2:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/Pow: tower_0/build_refine_loss/Pow:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/mul_3: tower_0/build_refine_loss/mul_3:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/sub_3: tower_0/build_refine_loss/sub_3:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/mul_4: tower_0/build_refine_loss/mul_4:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/add_1: tower_0/build_refine_loss/add_1:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/mul_5: tower_0/build_refine_loss/mul_5:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/mul_6: tower_0/build_refine_loss/mul_6:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/Equal: tower_0/build_refine_loss/Equal:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/Sum: tower_0/build_refine_loss/Sum:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/truediv: tower_0/build_refine_loss/truediv:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/Equal_1: tower_0/build_refine_loss/Equal_1:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/GatherV2_4: tower_0/build_refine_loss/GatherV2_4:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/sub_4: tower_0/build_refine_loss/sub_4:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/Less: tower_0/build_refine_loss/Less:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/Pow_1: tower_0/build_refine_loss/Pow_1:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/mul_7: tower_0/build_refine_loss/mul_7:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/sub_5: tower_0/build_refine_loss/sub_5:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/Select: tower_0/build_refine_loss/Select:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/Equal_2: tower_0/build_refine_loss/Equal_2:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/Sum_1: tower_0/build_refine_loss/Sum_1:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/truediv_1: tower_0/build_refine_loss/truediv_1:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/mul_8: tower_0/build_refine_loss/mul_8:0
2020-03-11 19:30:46,918 - WARNING - Cannot infer shape for tower_0/build_refine_loss/mul_9: tower_0/build_refine_loss/mul_9:0
2020-03-11 19:30:46,952 - ERROR - pass1 convert failed for name: “get_batch/batch/padding_fifo_queue”
op: “PaddingFIFOQueueV2”
attr {
key: “capacity”
value {
i: 16
}
}
attr {
key: “component_types”
value {
list {
type: DT_STRING
type: DT_FLOAT
type: DT_INT32
type: DT_INT32
type: DT_INT32
type: DT_INT32
}
}
}
attr {
key: “container”
value {
s: “”
}
}
attr {
key: “shapes”
value {
list {
shape {
}
shape {
dim {
size: -1
}
dim {
size: -1
}
dim {
size: 3
}
}
shape {
dim {
size: -1
}
dim {
size: 9
}
}
shape {
}
shape {
}
shape {
}
}
}
}
attr {
key: “shared_name”
value {
s: “”
}
}
, ex=You passed in an iterable attribute but I cannot figure out its applicable type.
Traceback (most recent call last):
File “/usr/lib/python3.6/runpy.py”, line 193, in _run_module_as_main
main”, mod_spec)
File “/usr/lib/python3.6/runpy.py”, line 85, in _run_code
exec(code, run_globals)
File “/home/bipul/.local/share/virtualenvs/unet_seg/lib/python3.6/site-packages/tf2onnx/convert.py”, line 161, in
main()
File “/home/bipul/.local/share/virtualenvs/unet_seg/lib/python3.6/site-packages/tf2onnx/convert.py”, line 145, in main
inputs_as_nchw=args.inputs_as_nchw)
File “/home/bipul/.local/share/virtualenvs/unet_seg/lib/python3.6/site-packages/tf2onnx/tfonnx.py”, line 497, in process_tf_graph
onnx_nodes, op_cnt, attr_cnt, output_shapes, dtypes = tensorflow_to_onnx(tf_graph, shape_override)
File “/home/bipul/.local/share/virtualenvs/unet_seg/lib/python3.6/site-packages/tf2onnx/tfonnx.py”, line 124, in tensorflow_to_onnx
return tflist_to_onnx(graph.get_operations(), shape_override)
File “/home/bipul/.local/share/virtualenvs/unet_seg/lib/python3.6/site-packages/tf2onnx/tfonnx.py”, line 111, in tflist_to_onnx
onnx_node = helper.make_node(node.type, input_names, output_names, name=node.name, **attr)
File “/home/bipul/.local/share/virtualenvs/unet_seg/lib/python3.6/site-packages/onnx/helper.py”, line 56, in make_node
for key, value in sorted(kwargs.items()))
File “/home/bipul/.local/share/virtualenvs/unet_seg/lib/python3.6/site-packages/onnx/helper.py”, line 56, in
for key, value in sorted(kwargs.items()))
File “/home/bipul/.local/share/virtualenvs/unet_seg/lib/python3.6/site-packages/onnx/helper.py”, line 269, in make_attribute
"You passed in an iterable attribute but I cannot figure out "
ValueError: You passed in an iterable attribute but I cannot figure out its applicable type.

Can you help in figuring out what could be the possible issue here