diff --git a/classify.html b/classify.html index 12ea2e3..580b246 100644 --- a/classify.html +++ b/classify.html @@ -13,14 +13,14 @@
-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
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; }