From 12d9c3a12f3612093dda9f1581c8594439bc8eb9 Mon Sep 17 00:00:00 2001 From: Ken Fehling Date: Mon, 26 Mar 2018 21:40:29 -0400 Subject: [PATCH 1/2] Proofread copy in classify.html --- classify.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/classify.html b/classify.html index 12ea2e3..580b246 100644 --- a/classify.html +++ b/classify.html @@ -13,14 +13,14 @@ -

MXNetJS: Deep Learning Classification on Browser

- Image URL
+

MXNetJS: Deep Learning Classification in the Browser

+ Image URL
Max output
-

Because of crossOrigin restriction, not all URL works!

-

Contribution is more than welcomed

+

Because of crossOrigin restriction, not all URLs work!

+

Contributions are more than welcomed

Sample url: https://raw.githubusercontent.com/dmlc/mxnet.js/master/data/cat.png

-

We are using a model called "fast poor",the performance is near AlexNet, but model size is only 7.6MB in JSON format

+

We are using a model called "fast poor", the performance is near AlexNet, but the model size is only 7.6MB in JSON format

Interestingly, Microsoft Edge and Firefox's performance is 8X better than Chrome (0.6-0.8 vs 6-8 second).

MXNet Code: https://github.com/dmlc/mxnet

MXNet.js Code: https://github.com/dmlc/mxnet.js

From e8c3d8c78e29cfa54d0d0d6d95abe34f7571d737 Mon Sep 17 00:00:00 2001 From: Ken Fehling Date: Mon, 26 Mar 2018 21:42:39 -0400 Subject: [PATCH 2/2] Update classify_image.js --- classify_image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classify_image.js b/classify_image.js index b889b35..fb35d9a 100644 --- a/classify_image.js +++ b/classify_image.js @@ -68,7 +68,7 @@ function preproc(url, targetLen, meanimg, callback) { callback(nd); }; $(image).bind('error', function (event) { - logError("Opps.. Failed to load image " + url); + logError("Oops.. Failed to load image " + url); }); image.src = url; }