convert bodypix js model to pb
See original GitHub issuewhen I followed the answer on (https://stackoverflow.com/questions/58841355/bodypix-real-time-person-segmentation?answertab=active#tab-top), I have the problem:
Converting.... buffer is smaller than requested size
I can’t find any information about it from source code.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
convert bodypix js model to pb . then convert pb to tflite · Issue #32 ...
Hello. I wanna convert bodypix js model to pb . then convert pb to tflite. ... Download the model.json file from https://storage.googleapis.com/tfjs-models/ ...
Read more >How to convert the body-pix models for tfjs to keras h5 or ...
js into a tensorflow frozen graph. Is it possible? I've already download the following files and tried to convert using tensorflowjs_converter, ...
Read more >Model conversion | TensorFlow.js
js converter has two components: A command line utility that converts Keras and TensorFlow models for use in TensorFlow.js. An API for loading ......
Read more >tensorflow/tfjs-converter v3.20.0 - npm.io
Convert a TF-Hub model file to TensorFlow.js graph model format. Use tf.loadGraphModel() to load the converted model in JavaScript. tf_saved_model ...
Read more >@tensorflow/tfjs-converter - npm
A python script that converts from a TensorFlow SavedModel to a web friendly format. If you already have a converted model, or are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@DCC-lzhy
Yes, the converter expects this name. I might change this later so you can provide any model file name, but for now the name has to be
model.json
.Make sure that the files you downloaded are ok: the weight files (
group1-shardXXof23.bin
) have to have the same size (4096kB each), except for the last one (group1.shard23of23.bin
), which might be smaller. The problem usually occurs, because the downloaded files are compressed. Either download the shard files via a browser or tell your download command to decompress the downloaded files, e.g.Does this solve your problem?