Skip to content

Support TensorFlow Saved Model's with legacy_init_op and main_op #2699

Description

@JakeRadMSFT

System information

  • OS version/distro: All
  • .NET Version (eg., dotnet --info): ML.net 0.11

Issue

  • What did you do?
    Tried to load SavedModel.
  • What happened?
    Received a table not initialized error.
  • What did you expect?
    Table initialization is specified in legacy_init_op. I expected the operation(s) in legacy_init_op to be executed after loading the model.

See https://www.tensorflow.org/api_docs/python/tf/saved_model/Builder#add_meta_graph for more information on legacy_init_op and main_op.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Priority of the issue for triage purpose: Needs to be fixed at some point.bugSomething isn't workingloadsaveBugs related loading and saving data or models

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions