-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
PoseNet models don't accept batch sizes greater than 1. #1864
Comments
tensorflow#1864) FEATURE - This is the first PR for adding support for user-defined metadata in model artifacts. Design doc has been circulated and discussed. - Add the field `userDefinedMetadata` to `ModelArtifacts` and `ModelJSON`. - Deprecate the old API of `tf.io.fromMemory()` which consisted of multiple arguments. The arguments are consolidated into on in the new API. - Add unit tests. Towards tensorflow#1596
CC @tylerzhu-github gentle ping to check this error. |
Thanks for the reminder! |
@tylerzhu-github thanks! Does this require re-training the model or just a modification to how the model is exported? |
Will be closing this issue as we will be using latest body segmentation model for same purpose. |
I'm writing some custom code that is to feed a batch of images into the PoseNet models for inference; in my case its a series of frames from long videos. I would eventually open a PR that supports this functionality.
However, when feeding a batch size of greater than one to both the MobileNet and ResNet models, you get an error:
A way to simply reproduce the error source is:
The above code results in an error:
The same thing occurs for other model urls.
CC @tylerzhu-github
The text was updated successfully, but these errors were encountered: