Comments (24)
@dineshbvadhia three primary differences:
- This model has different weights values as it was trained on a different set of images (OpenImages vs ImageNet)
- Different (and much larger) set of labels
- It's a multi-label network, as opposed to a single label ImageNet.
Otherwise, it's very similar.
from dataset.
@okasanasan sure! The checkpoint is fully compatible with retraining / finetuning. Give it a try.
from dataset.
As for the exact instructions, I would refer to TensorFlow for Poets tutorial. You will need to change the retrain.py script to load the OpenImages checkpoint, but the general process is the same.
from dataset.
Thanks, @gkrasin.
Can you help me how can I give it a try?
Shall I use this approach https://github.com/tensorflow/models/tree/master/inception?
from dataset.
@okasanasan yeah, that should work (after a few changes in the scripts).
from dataset.
As for changes, I think, I need to point somehow on dict.csv and labelsmap.txt, so these files will be modified with new words (categories). Am I right?
from dataset.
@okasanasan sorry, I have not looked into this close enough to say anything with confidence. If you make it working, please, report your experience back, so that others can follow your way.
from dataset.
I've tried to retrain it with Inception, but it didn't work. I didn't change anything in the files, but I don't believe I'll be able to do that by myself.
And as for https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/image_retraining/retrain.py.
This script requires different format files:
classify_image_graph_def.pb,
imagenet_synset_to_human_label_map.txt, and
imagenet_2012_challenge_label_map_proto.pbtxt.
And this classifier has only model.ckpt file.
So I need to covert .ckpt into .pb, .txt and .pbtxt, right?
from dataset.
I didn't change anything in the files, but I don't believe I'll be able to do that by myself.
Some changes will be required. While I (as I have stated earlier in the thread) have not looked at this close enough, and can't tell what exactly needs to be changed, I can try to talk to the people behind retrain.py script and find a proper way to integrate the Open Images baseline model with it.
I could not promise any specific dates or outcome, but I promise to work on it until it clicks.
from dataset.
@gkrasin, thank you!!!
from dataset.
I've checked the site but don't understand if the pre-trained InceptionV3 model is just of the image annotations (ie. text) or of the actual images or both? Thx.
from dataset.
@dineshbvadhia the pretrained model is a TensorFlow graph with its weights stored in a checkpoint file. It does not include nor text, nor images, but provides a way to take an image as a input and compute predictions on it.
from dataset.
@gkrasin Maybe I'm confused by the terminology. How is this - " a TensorFlow graph with its weights stored in a checkpoint file" - different from a TensorFlow InceptionV3 ImageNet pre-trained model?
from dataset.
@gkrasin Ok, got it. I use keras (with a TensorFlow backend) to extract abitrary layers from the ImageNet InceptionV3 pre-trained model. Is that possible with the OpenImages model?
from dataset.
Most likely possible. After all, it's a regular Inception v3 with a slightly modified output layer (sigmoid vs softmax). I don't have any specific advice, though.
from dataset.
Is there a Google Groups for OpenImages, if not, is one planned to ask questions outside of Github Issues?
from dataset.
@dineshbvadhia no immediate plans to create a mailing group. May be at some point in the future (after the next release)
from dataset.
A Google Group would be welcome. Is the roadmap for OpenImages public ie. what is coming down the road?
from dataset.
Is the roadmap for OpenImages public ie. what is coming down the road?
Not yet. Hopefully, it will be at some point.
from dataset.
i m trying to work with the retrain.py file but i have a problem with tensorboard
i worked but with nothing to display, i have tried the solution of tensorflow/readme file but didn't help so can anyone helps me?
thanks
from dataset.
forget to mention that i m following this tutorial
https://www.tensorflow.org/tutorials/image_retraining
from dataset.
What is the accuracy (top-1 and top-5) of this pre-trained Inception-v3 model?
from dataset.
@trumvu it needs to be noted that since the dataset is multi-label (an image may have and usually has several annotations). That's unlike ImageNet where each image has a single class. That makes it hard to use the same metrics (like, top-1 and top-5). Their exact definitions do not make sense anymore.
Instead, the net might be considered as the large collection of binary classifiers, one for each entity type (and it's >6K of them). Then each binary classifier has its own accuracy and recall. Some numbers are available on the main page: https://github.com/openimages/dataset#stats-and-data-quality
More numbers are available in this paper: Learning From Noisy Large-Scale Datasets With Minimal Supervision
from dataset.
"Some changes will be required." to retrain the V3 model. Can you share some more specific details or even code? It would be very helpful. Thank you anyway.
from dataset.
Related Issues (20)
- OpenImages V6 data set HOT 1
- there are no cat and dog coarse-grain category. HOT 1
- Image 01a624308e2f8c5d in oidv6-train-annotations-bbox.csv is mislabled
- Mislabeled Images HOT 1
- segmentations.csv mask 3 coordinates HOT 1
- Decoding Openimages v6 mask coordinates HOT 2
- BadZipFile Error HOT 3
- Soil-dataset
- L
- Golf rounds
- OIDv4 Tool Kit Windows 10 Python 3.7 HOT 2
- Extended dataset download per category? HOT 1
- (V5) Mismatched image and mask resolutions. HOT 2
- Explore UI does not load images HOT 2
- How to report invalid/questionable images? HOT 5
- Open Image Dataset V5 to COCO JSON format
- Why not build a video instance segmentation dataset?
- Where can I download the OpenImage V2 dataset? HOT 1
- Hierarchy question
- Request to add pretrained large-scale object detector to "Community Contributions" HOT 2
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 dataset.