GithubHelp home page GithubHelp logo

Comments (20)

vpenades avatar vpenades commented on May 16, 2024 1

Here's the anouncement of the posenet 2.0 models:

https://github.com/tensorflow/tfjs-models/tree/master/posenet#note-weve-just-released-version-20-with-a-new-resnet-model-and-api-check-out-the-new-documentation-below

It seems there's an improved version for Mobilenet, and there's also the new resnet model, which is slower, but highly accurate... looking at the source code, it seems its downloading the models from here: https://github.com/tensorflow/tfjs-models/blob/master/posenet/src/checkpoints.ts#L18

There's also a similar demo for hand and finger tracking:

https://github.com/tensorflow/tfjs-models/tree/master/handpose

Which might be interesting to have too!

from pinto_model_zoo.

vpenades avatar vpenades commented on May 16, 2024 1

Hi again... after further investigation, it seems some people already succeeded in converting the models to protobuf: https://github.com/atomicbits/posenet-python

from pinto_model_zoo.

PINTO0309 avatar PINTO0309 commented on May 16, 2024 1

If you're in a hurry, you can download saved_model with this shell script.
https://github.com/PINTO0309/PINTO_model_zoo/blob/master/03_posenet/02_posenet_v2/01_float32/download_saved_model.sh

from pinto_model_zoo.

PINTO0309 avatar PINTO0309 commented on May 16, 2024

My model is from old version 1. I didn't know that a version 2 model with high accuracy was released. Thank you for sharing. I need to investigate for a while to see if v2 can be converted and put into my repository. It will take some time.

from pinto_model_zoo.

PINTO0309 avatar PINTO0309 commented on May 16, 2024

Awesome!! The information you share is very useful to other engineers. Thank you again!

from pinto_model_zoo.

PINTO0309 avatar PINTO0309 commented on May 16, 2024

The skeleton detection of extraterrestrial life seems to be very difficult.
Test. 1
23130680901_92b2c6573e_b

Test. 2
tennis_in_crowd

from pinto_model_zoo.

vpenades avatar vpenades commented on May 16, 2024

Looks nice!, this is with the new posenet 2 models?

from pinto_model_zoo.

PINTO0309 avatar PINTO0309 commented on May 16, 2024

The heaviest parameter, Resnet50.

--model resnet50 --stride 16 --quant_bytes 4

from pinto_model_zoo.

vpenades avatar vpenades commented on May 16, 2024

For some reason, I am unable to run that python code.... I think I have a problem with some of the tensor flow dependencies. That's why I was using your repos for downloading the models.... I hope you can upload the .pb files soon!

from pinto_model_zoo.

PINTO0309 avatar PINTO0309 commented on May 16, 2024

The .pb (saved_model) alone is ready to commit immediately. We are in the process of converting to tflite.
Screenshot 2020-04-23 23:05:28

from pinto_model_zoo.

vpenades avatar vpenades commented on May 16, 2024

Great!

from pinto_model_zoo.

vpenades avatar vpenades commented on May 16, 2024

Hi again; I've been having some trouble consuming the new posenet saved models produced by your script.

In particular, I'm trying to load them with Emgu.TF, but it complains about invalid format.

I've been inspecting the models with Netron, and I've found some subtle differences;

for example, this is what is typically expected:

imagen

And this is what I see in your saved models:

imagen

So, maybe setting the format as "TensorFlow Saved Model v1" instead of "TensorFlow Graph" may be causing some differences?

from pinto_model_zoo.

PINTO0309 avatar PINTO0309 commented on May 16, 2024

I plan to commit saved_model, freeze_graph, tflite that will solve all your problems within a few hours.
Screenshot 2020-04-24 22:04:13
Screenshot 2020-04-24 23:05:14

from pinto_model_zoo.

vpenades avatar vpenades commented on May 16, 2024

great!

from pinto_model_zoo.

PINTO0309 avatar PINTO0309 commented on May 16, 2024

I have committed to all materials. Unfortunately, only Full Integer Quantization didn't work properly.

Posenet V2 ResNet50 225x225 - 513x513 - tflite

Weight Quantization, Integer Quantization, Float16 Quantization, saved_model, Freeze_graph
https://github.com/PINTO0309/PINTO_model_zoo/tree/master/03_posenet/02_posenet_v2

from pinto_model_zoo.

vpenades avatar vpenades commented on May 16, 2024

Thanks!, the new models are working!

I have a question, though... I've noticed you've converted only the new RestNet models, which is great, since they're the most accurate ones...

But, what about the mobilenet models? The TensorFlow.JS online demo allowed to choose between mobilenet and resnet..... and with the online mobilenet models I got significantly better detection than with the old mobilenet versions.... so maybe the mobilenet versions have been retrained for posenet 2.0? maybe it was just my impression...

Anyway, even if Resnet is much more accurate, mobilenet is still very useful for low end machines.

And, did you take a look at the handpose models?

from pinto_model_zoo.

PINTO0309 avatar PINTO0309 commented on May 16, 2024

I was so busy and tired from doing my main business on weekdays that I performed only minimal conversions. There is no other reason not to convert the MobileNet version. rest assured. I have plenty of time to work at home on Saturdays and Sundays, so I plan to convert MobileNet as well.

But, what about the mobilenet models? The TensorFlow.JS online demo allowed to choose between mobilenet and resnet..... and with the online mobilenet models I got significantly better detection than with the old mobilenet versions.... so maybe the mobilenet versions have been retrained for posenet 2.0? maybe it was just my impression...

really? I never expected the MobileNet version to be more accurate. In any case, the conversion process is easy, so I will try it.

And, did you take a look at the handpose models?

Yes. The MediaPipe demo is very interesting. I've been observing well for more than half a year.

from pinto_model_zoo.

vpenades avatar vpenades commented on May 16, 2024

Don´t worry, I'm not in a hurry, actually I believe your responses have been incredibly fast!

And thanks a lot for the hard work!

from pinto_model_zoo.

PINTO0309 avatar PINTO0309 commented on May 16, 2024

I plan to commit later today.
Screenshot 2020-04-25 09:11:46

Btw, the video below is the result of my trial of 3D Pose Estimation, which is quite interesting.

3D PoseEstimation + OpenVINO + Corei7 CPU only + 720p(1280x720) USB Camera + Sync Real TIme
https://www.youtube.com/watch?v=DgKw0Ty22PE&feature=youtu.be

from pinto_model_zoo.

PINTO0309 avatar PINTO0309 commented on May 16, 2024

I have committed a full version of MobileNet/ResNet model. Please update the cloned repository and execute the download script again.

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.