Coder Social home page Coder Social logo

Comments (6)

rkrasin avatar rkrasin commented on July 22, 2024

One working example is https://github.com/openimages/dataset/blob/master/tools/classify.py with the following doc: https://github.com/openimages/dataset/wiki/Running-a-pretrained-classifier

As for training, you will most likely hit #40.

from dataset.

abrad1212 avatar abrad1212 commented on July 22, 2024

@rkrasin Thanks, so in #40 It seems like there is no way to train this? But if that is not right then would something like this work

X = np.array(imgs, dtype='float32')
Y = np.eye(NUM_CLASSES, dtype='uint8')[labels]

from dataset.

abrad1212 avatar abrad1212 commented on July 22, 2024

@rkrasin Ohhh and why would you ever wanna leave Google, as you mentioned in #40

from dataset.

rkrasin avatar rkrasin commented on July 22, 2024

@rkrasin Thanks, so in #40 It seems like there is no way to train this?

Correct. At least, I don't know of a way. It can be fixed, but I think it's worth waiting for the models trained on v2, as hinted in README.md: Coming soon: Trained models (both image-level and object detectors).

The models are likely be more accurate, as the V2 data is much cleaner.

As for the release date, I have no information about that. My guess would be 2-3 more weeks before we see anything.

But if that is not right then would something like this work

X = np.array(imgs, dtype='float32')
Y = np.eye(NUM_CLASSES, dtype='uint8')[labels]

I am sorry, I didn't get the question here.

Ohhh and why would you ever wanna leave Google

https://www.linkedin.com/in/ivan-krasin-0ba73ba/

from dataset.

abrad1212 avatar abrad1212 commented on July 22, 2024

@rkrasin

I am sorry, I didn't get the question here.

I meant if I wasn't right about not being able to train with the dataset, then would something like that code work.

But I have one last question, why the hell would Google make a dataset public that we can not use to train?

Edit:
Congrats on CEO at Robodone. That's awesome.

from dataset.

rkrasin avatar rkrasin commented on July 22, 2024

But I have one last question, why the hell would Google make a dataset public that we can not use to train?

The dataset itself is fine. You can use it for training, with any framework you want.

The dataset comes with a pretrained classifier and a working example (in Python + Tensorflow), which is an icing on top of the cake.

The pretrained classifier seems to have a bug that prevents using it as is for finetuning. It's an issue, but not a critical one: there are myriads of pretrained classifiers on the web, most of which can be used for finetuning. The value of the dataset is in the ability to train your own classifier from scratch. And there's nothing that prevents from doing this.

from dataset.

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.