question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is there a way to export the serialized posenet model, in order to import it into python tf

See original GitHub issue

Hey, I’ve been tinkering with the amazing posenet webapp you guys released, and was recently trying to export the model in order to import it into python keras/tf. I could download the weights and the manifest file, but the latter is missing the modelTopology data, so I don’t have information about the graph’s structure.

I see that tensorflowjs seems to be strictly imperative, as I could not find any reference to a graph in tfjs, so I am kinda running out of ideas on how to export the model outside of rewriting it into python by hand.

Do any of you guys have any tips on how to export the model?

Cheers, and thanks for the great project!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:19 (2 by maintainers)

github_iconTop GitHub Comments

8reactions
rwightmancommented, Jan 4, 2019

@karthee320 @rytrose I ported the multi-pose version to Python over the holidays. Just posted the repo. Seems to be doing something sane but I have not done extensive verification yet.

https://github.com/rwightman/posenet-python

1reaction
oveddancommented, Oct 5, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

TensorFlow - Exporting and Importing a MetaGraph
In order for a Python object to be serialized to and from MetaGraphDef ... The API for exporting a running model as a...
Read more >
Migrate the SavedModel workflow | TensorFlow Core
Model , you can migrate the model saving and loading code. ... The examples below show how to export and load the same...
Read more >
Exporting transformers models
According to Pytorch's documentation: “TorchScript is a way to create serializable and optimizable models from PyTorch code”. Pytorch's two modules JIT and ...
Read more >
Body Pose Estimation — TAO Toolkit 4.0 documentation
During model export, the TAO model is encrypted with a private key, which is required when you deploy this model for inference. Choose...
Read more >
Human Pose Estimation Using TensorFlow's PoseNet Model
Is it possible to identify the movement/pose of a human body by doing an analysis of images and/or video? The answer to this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found