Skip to content

I've been training the model in Python for hours,How to load the trained model? #977

Closed

Description

@lindadamama
No description provided.

Activity

  1. SanftMonster commented on Feb 6, 2023

    @SanftMonster
    Collaborator

    If tensorflow.keras is used to train the model, you could save it to hdf5 format and load the weights with Tensorflow.Keras.Model.load_weights. I guess that you may want to use pb format model to load the whole network without re-define the network structure. We are sorry for the inconvenience as we currently do not have this feature available. However, it is in the works and we anticipate its completion within a month. Thank you for your patience.

  2. Oceania2018 commented on Mar 5, 2023

    @Oceania2018
    Member

    @lindadamama You can save the model in python, and use load to restore model in tf.net, and make sure you've upgraded to tf.net v0.100.4 and tf.keras v0.10.4.

  3. lucasramosdev commented on Feb 7, 2024

    @lucasramosdev

    @lindadamama You can save the model in python, and use load to restore model in tf.net, and make sure you've upgraded to tf.net v0.100.4 and tf.keras v0.10.4.

    How to use tf.net? How i call this function? How i import?

    I'm newbie using Tensorflow.NET and this documentation is so confusing for me.

    Can you help me?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions