Coder Social home page Coder Social logo

Comments (7)

PINTO0309 avatar PINTO0309 commented on July 21, 2024

The faltc I generated is for x86 architectures. Do you have an x86 CPU? If not, you'll have to build it yourself. Also, if the flatc path is not correct, you can fix it yourself.

binary = home + "/work/tensorflow/bazel-out/host/bin/external/flatbuffers/flatc"

from pinto_model_zoo.

ttducqt avatar ttducqt commented on July 21, 2024

I run on Ubuntu 18.04 64bit - Intel Core i5-6400U. The faltc path is correct, i run inside the flatbuffers folder, where i built the faltc

from pinto_model_zoo.

PINTO0309 avatar PINTO0309 commented on July 21, 2024

Where did you try to download the tflite file and convert it with flatc? The latest repository has only the Float16 quantized .tflite available, so you can download the Float32 file from the commit below and try it out. And my script only works with tensorflow==1.15.2 or tensorflow-gpu==1.15.2.

https://github.com/google/mediapipe/blob/294687295d502f1bec3fe140c25538adefa11a14/mediapipe/models/face_detection_front.tflite

from pinto_model_zoo.

ttducqt avatar ttducqt commented on July 21, 2024

Btw, does your script work with "face_detection_back.tflite" version ?

https://github.com/google/mediapipe/blob/master/mediapipe/models/face_detection_back.tflite

from pinto_model_zoo.

PINTO0309 avatar PINTO0309 commented on July 21, 2024

It also doesn't work because it's Float16 quantized.

from pinto_model_zoo.

PINTO0309 avatar PINTO0309 commented on July 21, 2024

I have committed face_detection_back.tflite.
https://github.com/PINTO0309/PINTO_model_zoo/tree/master/30_BlazeFace

from pinto_model_zoo.

PINTO0309 avatar PINTO0309 commented on July 21, 2024

There is no progress, so I'll close it.

from pinto_model_zoo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.