Replies: 1 comment 5 replies
-
yes, we should replace points and not add them, but i never liked how mediapipe implemented augmentation to start with so i never went too far with it. the issue is that augmentation network is not really single network, its basically pipe of multiple models connected using proprietary functions - and those functions are only implemented as unofficially software functions for tfjs-webgl backend, they don't exist in actual tensorflow. for that reason, attention model cannot run in nodejs (since functions dont exist in tfjs-node) or tflite. reality is, mediapipe never intended attention model to run outside of mediapipe backend. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here are a couple of question about the mesh network argumentation.
a. the attention augmentation which is disabled by default (
human/src/face/facemesh.ts
Line 115 in 1114014
I might be wrong but, but my understanding of the attention is to replace points around the eyes and lips from the mesh output with the more accurate points from the five attention output. If I am correct I would expect replacement and not addition (except of the 5+5 iris points). This seems to be how the default iriis attention network work works.(
human/src/face/facemesh.ts
Line 117 in 1114014
With iris augmentation on the other hand, only adds 10 new points iris points and replaces old mesh points with the new ones. Shouldn't we do the same thing with attention?
b. Where do i get the attention network in tflite/onnx format?
Beta Was this translation helpful? Give feedback.
All reactions