Problem when I want to translate from saved model

Hello everyone
I have some trained language pair model and I use ende_client.py for translation. but in the line

self._translate_fn(**inputs)

it gets this error:

Exception has occurred: FailedPreconditionError
2 root error(s) found.
(0) Failed precondition: Error while reading resource variable _AnonymousVar4 from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/_AnonymousVar4/N10tensorflow3VarE does not exist.
[[{{node StatefulPartitionedCall/transformer_base_1/self_attention_encoder_1/self_attention_encoder_layer_6/transformer_layer_wrapper_30/multi_head_attention_18/dense_96/MatMul/ReadVariableOp}}]]
(1) Failed precondition: Error while reading resource variable _AnonymousVar4 from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/_AnonymousVar4/N10tensorflow3VarE does not exist.
[[{{node StatefulPartitionedCall/transformer_base_1/self_attention_encoder_1/self_attention_encoder_layer_6/transformer_layer_wrapper_30/multi_head_attention_18/dense_96/MatMul/ReadVariableOp}}]]
[[length/_11]]
0 successful operations.
0 derived errors ignored. [Op:__inference_signature_wrapper_7582]

Function call stack:
signature_wrapper → signature_wrapper

I use
docker tensorflow-gpu==2.4.1 and
OpenNMT-tf==2.15.0

Thank you for your help.