Comments (4)
What's in the background images? Are there any detectable examples in these?
from realtimeobjectdetection.
What's in the background images?
Some random pics (cats, for example) that have nothing to do with my gestures.
Are there any detectable examples in these?
No. I created for this pics .xml files and deleted from there block "Object". I also changed some code in generate_tfrecord.py like in the link above.
from realtimeobjectdetection.
Hmmm, I don't think those will add much value as there aren't any labels being generated in the tfrecords file. To improve accuracy I'd suggest the following:
- Perform image augmentation e.g. brightness, contrast, scaling and cropping
- Train for longer until you hit a low loss metric for both train and validation
- Use more photos for each class and under different conditions
from realtimeobjectdetection.
I added around 30 pics for each class, changed some of them(blur, brightness, contrast and etc.).
I checked detection at 0.079(28300 steps). It was good, but still sometimes detected my head as index finger and with accuracy around 50-60%. I continued training for a lot (209000 steps), stopped at 0.030 loss and results are worse than at 0.079 loss. I have some false positive detections, but, luckily, not as much as before.
Your suggestions helped a lot. Before I asked you I changed background in my pics for different colors, thought it would help somehow.
Now I will try adding more pics(100) to each class and will be stopping and checking. Did not think that at lower loss it will be performing worse.
Also what I need to do to get id of detected class in python script.
from realtimeobjectdetection.
Related Issues (20)
- Unable to resolve an error HOT 1
- Dimension issue HOT 2
- Image Augmentation with label datasets
- cp is not reconginzed as internal or external command. CP error in Adminstrator Command Prompt HOT 2
- Couldn't satisfy the requirements
- train.record and test.record empty
- issue while generating tf records HOT 2
- ModuleNotFoundError: No module named 'tensorflow.contrib' HOT 1
- Collected Image is Empty
- cv2 issue
- 'cp' is not recognized as an internal or external command, operable program or batch file. HOT 1
- UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd1 in position 221: invalid continuation byte
- pyrcc5 was unexpected at this time.
- 'numpy._DTypeMeta' object is not subscriptable HOT 1
- gfile HOT 2
- error creating in creating tf record HOT 1
- how to train a model to read book and give answers according to the user
- Issue - run on Colab
- error during git clone
- Getting error when trying to create TF records
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 realtimeobjectdetection.