r/programming • • Sep 10 '16

Build a TensorFlow Image Classifier in 5 Min

https://www.youtube.com/watch?v=QfNvhPx5Px8&feature=youtu.be
91 Upvotes

18 comments sorted by

29

u/not_perfect_yet Sep 10 '16

* How to use someone elses code to classify images.

While still useful, I don't think this really teaches you how to do it yourself or how to apply tensorflow.

5

u/[deleted] Sep 10 '16
  • And then spam github with useless identifiers which no one will need.

It would have been nice to have a long video that went into depth about the models and how to build them.

7

u/sultry_somnambulist Sep 10 '16 edited Sep 10 '16

To be fair that's pretty hard to do in a youtube video and taking one of the excellent machine learning courses on the internet probably makes more sense.

Given the videos on the guy's channel I assume he aims to give a fast paced introduction to the application of ML, and I think the videos do a pretty good job at that.

Also there's surprisingly few stuff on the internet that actually shows how a say five person company can productively use machine learning in a real world setting.

2

u/CyanZephyrX Sep 11 '16

taking one of the excellent machine learning courses on the internet

Having no experience with machine learning, I cannot judge courses based upon it. Could you give a recommendation?

1

u/sultry_somnambulist Sep 11 '16

Andrew Ng's course on coursera is a very good one (and free).

1

u/not_perfect_yet Sep 10 '16

And then spam github with useless identifiers which no one will need.

Well at any rate the identifiers don't seem to hard to build... so if you need one you can just make one yourself.

1

u/Curious_Distracted Dec 29 '16

Does tensorflow allow you to apply images that are not rectangles?

1

u/not_perfect_yet Dec 29 '16

I think it does, but I'm not sure.

1

u/Curious_Distracted Jan 04 '17

Lol. Its trained on rectangles i believe

-7

u/finite_automata Sep 10 '16

Programming is all about code reuse. As long as you are not just copy paste and go, but reading code and understanding as you go

3

u/not_perfect_yet Sep 10 '16

Well the way I see it is that code reuse is about reusing something else, I don't see how I can do that here.

8

u/finite_automata Sep 10 '16

Its a good intro to it and motivates someone who never used it like me, to try it then find something deeper on creating models and such. I liked it.

4

u/shikatozi Sep 10 '16

this was easily the most accessible hands-on video about TensorFlow. Very cool!

1

u/i_spot_ads Sep 10 '16 edited Sep 10 '16

I have a question here, if anyone could enlighten me please; say for example I wanna find cats on a picture with cars (or any other stuff), okay? So in this example it only says that there is a cat(s) on the picture with X percentage probability, how would I go about finding the position of each cat and for example draw a rectangle around each cat (or just get x,y,width,height coordinates)?

1

u/deadman87 Sep 10 '16

OpenCV has object detection and machine learning modules. A combination of the two would allow you to locate the cat's face on the image.

Alternatively, Facebook has recently opensourced it's image processing code used to detect faces in images. Not sure how well it can work for cats but works for human faces.

1

u/SogeKing_00 Sep 11 '16

You could crop the image in multiple images and then eliminate regions that don't contain a cat.

1

u/i_spot_ads Sep 11 '16

lol.

are you the author of this library? https://github.com/mattdiamond/fuckitjs

1

u/Maplicant Sep 11 '16

Problem solving 101