Comments (4)
from handtracking.
Thank you very much.
Very pleasure if you can confirm that the frozen.pb in folder hand_inference_graph was generated from ./model-checkpoint/ssdmobilenetv1?
I found two facts:
- ssdlitemobilenetv2 is worse than ssdmobilenetv1. The reason might be that the num_steps of ssdlitemobilenetv2 was just 20000, far less than 200000 of ssdmobilenetv1.
- The format of the .config files of them are different. The ssdlitemobilenetv2's format is same with the model downloaded from tf model zoo. And also, I have got the same results by both using the frozen.pb in ssdlitemobilenetv2 and that I generated by the tf function.
Anyway, I just want to clear that the difference between tf versions could create the difference of the accuracy during the conversion of the models.
Ha! I haven’t tried exporting new nightly! Is it possible that what you have installed is TensorFlow 2.0 api ? I know there are changes to the news api that pretty much break things for tf 1.x. I’d begin with searching for side effects for the object detection api when used with 1.13 nightly .
…
Sent from my iPhone
On Mar 7, 2019, at 07:39, sammymx @.***> wrote: Hi, victor I was using the function: export_inference_graph.py, from newest version of tensorflow object detection API, to generate the frozen_inference_graph.pb. (tensorflow version: tf-nightly 1.13..., Ubuntu 18.04) But the accuracy was so bad both in ssd_mobile_v1 and ssdlite_mobile_v2. The confidences were inaccurate and the bounding boxes were also not in where they should be. (A few boxes were in the right place, but the sizes were not accurate, and some confidences of the incorrect boxes were higher than the real hand boxes.) Can you please help me to analyse the possible problems? A wired phenomenon is that when running export_inference_graph.py to generate the frozen pb file, a group of files were generated at the same time, including pipeline.config, model.ckpt.data-00000-of 00001, and its index and meta files, which are different from the original .config and .ckpt files. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
from handtracking.
Hi @sammymx
Yes, frozen model was generated from model-checkpoint v1.
I tested v1 more carefully (a while ago though) and I'd say you focus more on this version. v2 checkpoints was done more recently using the recent version of the object detection api.
Now as to accuracy, I have less training steps mainly because an observation on MAP/loss showed there was not much improvement after this. While I have not exported the v2 model to a frozen graph and tested in python, I have converted it to the tensorflow.js webmodel format and I confirm it works as expected. See demo here
Perhaps try installing an older version of tensorflow e.g. 1.10, export the graph and try again?
from handtracking.
Closing ..
feel free to reopen if still having issues.
from handtracking.
Related Issues (20)
- How can I detect hands in Jpg?(panel disappeared & size) HOT 1
- Just sending a note HOT 1
- why some label is not correct?
- Problem while training: zero mAp. HOT 2
- Threading to "improve" visual performance HOT 2
- Help Needed to convert the frozen graph to Tensorflow lite model HOT 4
- Problem with egohands_dataset_clean.py HOT 4
- hand detection
- Is the coordinate position of the detection box upper left corner, lower right corner or upper left corner with width and height?
- How can I use this model in Keras?
- Confusion while generating tf records
- question about frozen_inference_graph.pb
- Oxford hand dataset
- Using the savedmodel in this project for transfer learning in Keras
- Tensorflow Lite-Mobile HOT 3
- Loaded runtime CuDNN library: 7.4.2 but source was compiled with: 7.6.0 HOT 1
- Step-By-Step Tutorial and Requirements
- What's version of tensorflow was used to train model? HOT 1
- How to modify for a url stream?
- How can i use my own model for hand gestures
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from handtracking.