I’m trying to understand the following error messages (related to frame ids) when converting tensorflow model to trt:
During conversion:
layout failed: Invalid argument: Invalid graph: Frame ids for node StatefulPartitionedCall/while/body/_378/while/transformer_decoder/transformer_decoder_layer_2/multi_head_attention_17/dense_100/BiasAdd/ReadVariableOp does not match frame ids for it’s fanout StatefulPartitionedCall/while/body/_378/while/Identity_4
During execution:
tensorflow.python.framework.errors_impl.InvalidArgumentError: {{node Func/StatefulPartitionedCall/while/body/_378/output_control_node/_1118}} has inputs from different frames. The input {{node StatefulPartitionedCall/while/body/_378/while/transformer_decoder/transformer_decoder_layer_2/sequential_14/dense_101/Tensordot/ReadVariableOp}} is in frame ‘StatefulPartitionedCall/while’. The input {{node StatefulPartitionedCall/while/body/_378/while/y_net/embedding/embedding_lookup}} is in frame ‘’. [Op:__inference_signature_wrapper_89313]
Can someone please help me?