Comments (6)
today,I find the save_model function,but,when I load the model,it can not predict,who can help me
from ctcmodel.
Hi ! Can you please post the error messages you're getting ?
from ctcmodel.
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.
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.
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.
Hi ! I'll update the readme with an example. Thanks for the report !
from ctcmodel.
Related Issues (20)
- _predict_loop error HOT 4
- InvalidArgumentError: sequence_length(0) <= 32 [[{{node CTCloss_10/CTCLoss}}]]
- predict function error HOT 2
- how to use CTC in keras
- Import Error HOT 1
- loaded model can not work well HOT 7
- TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType HOT 1
- Problem in transfer learning HOT 1
- update in way to import dependencies? HOT 1
- Keras version HOT 6
- AttributeError: module 'tensorflow.python.keras.engine.data_adapter' has no attribute 'DataHandler'
- ModuleNotFoundError: No module named 'keras.engine'
- AttributeError: pred = network.predict([x_test_pad, x_test_len]) HOT 3
- How to use this in CRNN.
- About top-k predictions
- Invalid argument: Saw a non-null label (index >= num_classes - 1) following a null label
- TensorBoard Callback not working
- The model is not working with audio data. HOT 2
- Error when using a 3 demensional input
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ctcmodel.