GithubHelp home page GithubHelp logo

Comments (10)

fariagu avatar fariagu commented on July 17, 2024 1

Sure thing. I can't say for sure how good the accuracy is but running on android the results are pretty decent.

The generated file is not quantized, though. Still haven't figured that part out.
detect.zip

from tensorflow-face-detection.

Sunnycheey avatar Sunnycheey commented on July 17, 2024 1

Well the generated file of my own trained model is quantized. Maybe floating point detect file can achieve more accuracy result but slower running speed. If you'd like to train your model, I can offer you some help. By the way, can you send the zip file directly to my email ([email protected])? since downloading file on github is so slow in CN...

from tensorflow-face-detection.

fariagu avatar fariagu commented on July 17, 2024 1

from tensorflow-face-detection.

Sunnycheey avatar Sunnycheey commented on July 17, 2024

Fixed by training my own model.

from tensorflow-face-detection.

fariagu avatar fariagu commented on July 17, 2024

@Sunnycheey I'm having the same problem you had, but I'm more used to working with keras, so the tflite_convert is also not working. Could you please explain how you generated the tflite file, or maybe even share the file itself? Thanks!

from tensorflow-face-detection.

Sunnycheey avatar Sunnycheey commented on July 17, 2024

@Sunnycheey I'm having the same problem you had, but I'm more used to working with keras, so the tflite_convert is also not working. Could you please explain how you generated the tflite file, or maybe even share the file itself? Thanks!

Have you solve your problem?

I can share my train process with you simply.

Firstly, you need write a small script to convert wider face database to tfrecord format, then you can train the model and get your own ckpt file. You can learn how to generate tfrecord in here and you can find pre-trained model in here

from tensorflow-face-detection.

fariagu avatar fariagu commented on July 17, 2024

Yes, I did fix it. Sorry for not updating.

I didn't train my own model, I followed the method described in the discussion of this issue (#42).

Thanks for replying though 😄

from tensorflow-face-detection.

Sunnycheey avatar Sunnycheey commented on July 17, 2024

To be honest, I try the solution decribed in the issue (#42), but I can't figure it out, so I train my own model. The problem is the test result of my own trained model is not as good as this repo. Have you finished the convert? Can you offered the tflite file itself?

Thanks.

from tensorflow-face-detection.

Sunnycheey avatar Sunnycheey commented on July 17, 2024

Sorry for deleting the comment. By change TF_OD_API_INPUT_SIZE variable in there from defalut 300 to 512, I solved the problem. I delete the comment since I think the problem is somewhat stupid to ask. The variable name explicitly tell me how to set the input tensor size.

Thanks anyway.

from tensorflow-face-detection.

fariagu avatar fariagu commented on July 17, 2024

from tensorflow-face-detection.

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.