Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keras: running model #6

Open
Mynameisyaojiaqi opened this issue Jan 22, 2022 · 2 comments
Open

Keras: running model #6

Mynameisyaojiaqi opened this issue Jan 22, 2022 · 2 comments

Comments

@Mynameisyaojiaqi
Copy link

In the process of loading the model and testing the data, "keras:running model" is displayed, which takes a long time. Why?

@konafah
Copy link
Member

konafah commented Jan 24, 2022

Hi, that message indicates model inference + tensor extraction. On loading any model for the first time, Zetane runs placeholder data through the model in order to extract its runtime properties.

Additionally, the first time any Keras model is loaded, the Tensorflow runtime needs to be initialized which might increase the loading time. On average, the first "Keras: running model" message could take 30 seconds to 2 minutes. Subsequent loads should be much faster.

If the model never loads or takes too long to load for your usecase, we could certainly look into that. What OS are you using, and are you able to share the model (or point me to a similar one)?

@konafah
Copy link
Member

konafah commented Jan 24, 2022

You can also join our slack channel (https://zetane.com/join-slack) or email me directly ([email protected])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants