google-research/mint

How to export the saved_model correctly?

youngstu opened this issue · 0 comments

How to export the saved_model correctly? There are some error in exported saved_model. See below.

saved_model_cli show --dir=savedmodel/214501 --all
2021-12-21 22:36:19.753846: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0

MetaGraphDef with tag-set: 'serve' contains the following SignatureDefs:

signature_def['__saved_model_init_op']:
  The given SavedModel SignatureDef contains the following input(s):
  The given SavedModel SignatureDef contains the following output(s):
    outputs['__saved_model_init_op'] tensor_info:
        dtype: DT_INVALID
        shape: unknown_rank
        name: NoOp
  Method name is: 

Defined Functions: