Coder Social home page Coder Social logo

vladmandic / insightface Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 0.0 42.88 MB

InsightFace for TFJS

Home Page: http://vladmandic.github.io/insightface/public

License: MIT License

Python 2.07% CSS 4.91% HTML 23.40% TypeScript 69.62%
face-recognition insightface tensorflow tfjs

insightface's Introduction

GitHub stats linkedin Top Langs Activity graph


Human Project

Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card

SD.Next Project

Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card

Other Projects

Readme Card Readme Card Readme Card Readme Card Readme Card

Development Tools

Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card

Minor Projects & Tests

Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card


TensorFlow Port & Tools

Readme Card Readme Card

ML Model Ports

Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card

insightface's People

Contributors

vladmandic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

insightface's Issues

I need some help with tensorflow.org/js object recognition

Here is a working sample code

https://github.com/mtrucc/react-ts-fpkqes

Here is the working model

https://github.com/mtrucc/react-ts-fpkqes/tree/main/public/mask_model

This is the model I trained myself and converted using the command, it doesn't work

https://github.com/mtrucc/react-ts-fpkqes/tree/main/public/mask_model2

You can switch models by modifying the path in the code

https://github.com/mtrucc/react-ts-fpkqes/blob/6cb2ce09f4c44673098749041244b0f998f8d8f4/src/components/mask.js#L35

Install tensorflowjs

!pip install tensorflowjs

Return

Successfully installed flatbuffers-1.12 gast-0.4.0 keras-2.9.0 packaging-20.9 protobuf-3.20.0 tensorboard-2.9.0 tensorflow-2.9.0 tensorflow-estimator-2.9.0 tensorflowjs-3.19.0

Here is my conversion command in colab

tensorflowjs_converter --input_format=tf_saved_model \
                        --output_format=tfjs_graph_model \
  /content/gdrive/MyDrive/customTF2/data/inference_graph/saved_model \
  /content/gdrive/MyDrive/customTF2/data/inference_graph/saved_model_js
I don't know where is the problem? If you need more details, I can add.

I don't know where is the problem? If you need more details, I can add.

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.