wolterlw / hand_tracking

Minimal Python interface for Google's Mediapipe HandTracking pipeline
Apache License 2.0
148 stars 37 forks source link

python opencv tensorflow version #31

Closed amandazw closed 4 years ago

amandazw commented 4 years ago

when I import models, the error shows below: ValueError: Didn't find custom op for name 'Convolution2DTransposeBias' with version 1 Registration failed

so, I want to know what's the version for the three packages. Thanks !

wolterlw commented 4 years ago

the issue is that you're probably using the wrong .tflite file the file in mediapipe repo has custom ops. To import these you'd have to compile a custom build of Tensorflow. This is laborious, so I've borrowed a .tflite files from another repo with the custom ops removed. Make sure you use those.