TensorFlowJS vs IBM Watson

84 views
Skip to first unread message

Niño Ross Rodriguez

unread,
May 31, 2018, 5:44:48 AM5/31/18
to TensorFlow.js Discussion
Hello everyone, 

Im fairly new to the world of machine learning and been playing with the available tools out there.  I am impressed with both IBM Watson and TensorFlow.  However, when I trained IBM Watson, it not only produced the model faster, it was really accurate.  On the other hand, when I trained TensorFlow with the same set of data, it not only took a long time (well maybe because I was just using my own machine) but it was totally erroneous.  

Any ideas why?  Or tips on how to improve training?

Shanqing Cai

unread,
May 31, 2018, 9:25:29 AM5/31/18
to TensorFlow.js Discussion
Is IBM Watson's training browser-based? From what I know, it isn't: it is backed by server-side compute resources. TensorFlow.js performs training in the client-side browser (assuming you are not using the Node.JS binding of TensorFlow.js), which is a resource restricted environment. So it may not be a fair comparison.

Niño Ross Rodriguez

unread,
May 31, 2018, 8:20:03 PM5/31/18
to TensorFlow.js Discussion
Lets paint a scenario:

4 folders containing 100 images each.  One went to IBM Watson for training using NodeJS, the other set went through TensorFlow using the process from the Scavenger Hunt demo (https://github.com/google/emoji-scavenger-hunt).  

IBM Watson is all API based so it was pretty straight forward.  Upload to their system and wait.

TensorFlow on the other hand, I used python to train the same set of images and just used my own computer (MacBook 2015 edition maybe).

Can we assume that IBM Watson might be backed up with a good server farm and algorithm better than tensorflow thus creating a faster and more accurate result? From my initial testing of a Dandelion turned out to be a Thistle

Stan Bileschi

unread,
Jun 1, 2018, 9:25:01 AM6/1/18
to TensorFlow.js Discussion
A fairer comparison to Watson here would probably be against cloud automl vision API:

Niño Ross Rodriguez

unread,
Jun 1, 2018, 5:54:56 PM6/1/18
to TensorFlow.js Discussion
Yes but cloud vision doesn't let you train your own image classifier

Stan Bileschi

unread,
Jun 1, 2018, 6:02:18 PM6/1/18
to Niño Ross Rodriguez, TensorFlow.js Discussion
Hrm, I guess you are right.  I had it confused with cloud AutoML, which is only in Alpha.


On Fri, Jun 1, 2018 at 5:54 PM, Niño Ross Rodriguez <onin...@gmail.com> wrote:
Yes but cloud vision doesn't let you train your own image classifier

--
You received this message because you are subscribed to a topic in the Google Groups "TensorFlow.js Discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/a/tensorflow.org/d/topic/tfjs/uOeh6Lgz8J0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tfjs+unsubscribe@tensorflow.org.
Visit this group at https://groups.google.com/a/tensorflow.org/group/tfjs/.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/tfjs/8df881bf-4efd-4b4a-9701-0e06949bfabc%40tensorflow.org.



--
Stan Bileschi Ph.D.  |  SWE  | bile...@google.com | 617-230-8081

Reply all
Reply to author
Forward
0 new messages