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

BlazePose #27

Closed
Crusoekid opened this issue Aug 26, 2020 · 9 comments
Closed

BlazePose #27

Crusoekid opened this issue Aug 26, 2020 · 9 comments

Comments

@Crusoekid
Copy link

why not translate 'pose_landmark_upper_body.tflite' to pb,'pose_landmark_upper_body_256x256_float32' is not the standard model in google project.Can you translate'pose_landmark_upper_body.tflite' to pb? thanks a lot

@PINTO0309
Copy link
Owner

”pose_landmark_upper_body_256x256_float32” completely reproduces the standard model provided by Google. I don't know what you are expecting.

@Crusoekid
Copy link
Author

ok, when i use the model ,the output name is very strange, also, my points result can`t show at corret position.Maybe is my fault.

@PINTO0309
Copy link
Owner

The output name is read as Identity during the reverse conversion of tflite, but there is no difference in the output value.

@Crusoekid
Copy link
Author

the output name is 'model/tf.reshape/Reshape' ,very strange!

@vpenades
Copy link

vpenades commented Sep 7, 2020

@Crusoekid Usually tflite and PB produce slightly different names, so in general, don't expect PB and TFLite to have exactly the same names.

@alex89607
Copy link

I'm trying to start training the BlazePose Full Keypoints model from scratch, but it doesn't work well. Perhaps there are some Is training data or schema for use, so that I can prepare my own?

@vidheyoza
Copy link

Also the outputs from 058 (BlazePose Full) and 053 (BlazePose) have outputs as classifiers and regressors but no information is given on how to convert them to the 33x3 key point array as given in the paper. Can anyone guide me on that?

@PINTO0309
Copy link
Owner

The following repositories are helpful.
https://github.com/terryky/tfjs_webgl_app/tree/master/blazepose_fullbody

@vladmandic
Copy link

vladmandic commented Mar 5, 2021

fyi, i've implemented latest blazepose full (195 values as 39 keypoints with 5 properies) from https://github.com/PINTO0309/PINTO_model_zoo/tree/main/058_BlazePose_Full_Keypoints/10_new_256x256
and blazepose upperbody (155 values as 31 keypoints with 5 properies) from https://github.com/PINTO0309/PINTO_model_zoo/tree/main/053_BlazePose/20_new_256x256

btw, visibility and presence properies are interpreted as reverse sigmoid value

js code is at https://github.com/vladmandic/human/blob/main/src/blazepose/blazepose.ts
and with some try&error, i've created annotations for both variations: https://github.com/vladmandic/human/blob/main/src/blazepose/annotations.ts
(although i'm a bit at a loss what some values in upperbody variation represent)

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

6 participants