galaktyk / mocap-hmr-tflite

Export .bvh motion capture file from video.
6 stars 3 forks source link

tflite_runtime couldn't be installed #1

Open harshap-ai opened 3 years ago

harshap-ai commented 3 years ago

Hey,

When I try to run "requirement.txt" in Colab, I'm getting the following error message.

ERROR: Could not find a version that satisfies the requirement tflite_runtime (from -r requirement.txt (line 1)) (from versions: none) ERROR: No matching distribution found for tflite_runtime (from -r requirement.txt (line 1))

Is this because of some dependency issue or deprecation? How to bypass?

galaktyk commented 3 years ago

for linux try install from package repo https://www.tensorflow.org/lite/guide/python#install_tensorflow_lite_for_python

or you can use Tensorflow python instead

self.interpreter = tflite.Interpreter(model_path=MODEL_PATH)

change to

self.interpreter = tf.lite.Interpreter(model_path=MODEL_PATH)