Giter Club home page Giter Club logo

Comments (6)

JohnLoveMm avatar JohnLoveMm commented on June 30, 2024

today,I find the save_model function,but,when I load the model,it can not predict,who can help me

from ctcmodel.

cyprienruffino avatar cyprienruffino commented on June 30, 2024

Hi ! Can you please post the error messages you're getting ?

from ctcmodel.

JohnLoveMm avatar JohnLoveMm commented on June 30, 2024

Hi ! Can you please post the error messages you're getting ?

sorry for waiting so long,I use this "netsork.save_model(path)" saved the model successfuly,but when I load the model, I use "CTCModel.load_model(path)",there rise the error"load_model() missing 2 required positional arguments: 'path_dir' and 'optimizer'
",In fact I do not know how to load my model.
could I keep your wechat?Because I have so much problem about CTCModel.
Finally,Thank you very much for answer my question.

from ctcmodel.

JohnLoveMm avatar JohnLoveMm commented on June 30, 2024

Hi ! Can you please post the error messages you're getting ?

when i create a new network,that did not trained,
MODEL = create_network(nb_features, nb_labels, padding_value) model = MODEL.load_model(path, Adam)
there rise a new error"Could not interpret optimizer identifier: <class 'keras.optimizers.Adam'>"
I use the same optimizer,in train and load model,I changed "tensorflow.keras.optimizers.Adam" to "keras.optimizers.Adam",but neither worked.In the train cycle I use "keras.optimizers.Adam".I do not know how to solve it,I hope you could help me.

from ctcmodel.

JohnLoveMm avatar JohnLoveMm commented on June 30, 2024

Hi ! Can you please post the error messages you're getting ?

could you please give an example on how to save a model,and how to load a trained model? I can not do this,it is so hard for me

from ctcmodel.

cyprienruffino avatar cyprienruffino commented on June 30, 2024

Hi ! I'll update the readme with an example. Thanks for the report !

from ctcmodel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.