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

Will you public pb or SavedModel of facedetector_front.tflite #14

Closed
tworuler opened this issue Jul 24, 2019 · 9 comments
Closed

Will you public pb or SavedModel of facedetector_front.tflite #14

tworuler opened this issue Jul 24, 2019 · 9 comments

Comments

@tworuler
Copy link

I want to use facedetector_front.tflite in tfjs, but I didn't find any way to convert .tflite to .pb. Do you have the .pb or SavedModel of facedetector_front.tflite?

@mgyong
Copy link

mgyong commented Jul 24, 2019

@tworuler Is your use case to run facedetector in a web browser? We are working on getting MediaPipe calculators & graphs to run on the web as well. That is coming likely later in the year. For now we don't have .pb or savedmodel of facedetector

@tworuler
Copy link
Author

@mgyong Yes. I have converted the .tflite to .pb myself. Thank you for sharing such good face detector model.

@lbwang2006
Copy link

@mgyong Yes. I have converted the .tflite to .pb myself. Thank you for sharing such good face detector model.

hi can you share the pb with me ? thank you~~

@nszjh
Copy link

nszjh commented Jul 26, 2019

@tworuler hi,could you tell me how the .tflite convert to .pb? I have tried to use tensorflow's toco, but it didnot work

@jiuqiant
Copy link
Collaborator

@tworuler Seems like you already solved this issue by yourself ;) I am going to close this issue. Cheers.

@tworuler
Copy link
Author

@tworuler hi,could you tell me how the .tflite convert to .pb? I have tried to use tensorflow's toco, but it didnot work

First, I use flatc to convert tflite to json. Second, I parse the json and create tensorflow graph. Finally, I read model weights from .tflite, use them to initialize weights in tensorflow graph and save the graph as pb.

@Bluebie
Copy link

Bluebie commented Aug 20, 2019

Very keen for a version that works on web! I'd love to use the hand landmarks detector to recognise handshapes from webcam input for a sign language search engine. Currently my project can search english and find auslan sign videos, but can't do the inverse. Looking forward to a version that runs on the web, whatever form that takes. 💙

@tworuler
Copy link
Author

I received some emails to ask the details about converting .tflite to .pb. Here is my code, hope this can help you.

@TomorrowIsAnOtherDay
Copy link

@tworuler Thanks a lot!

bboettcher3 pushed a commit to bboettcher3/mediapipe that referenced this issue Dec 4, 2020
…esh-lag

perf(facemesh): improve face mesh lag
arttupii pushed a commit to arttupii/mediapipe that referenced this issue Nov 18, 2023
…classifier

Adding readme for image classifier
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

7 participants