Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions classify.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@

</head>
<body>
<h1>MXNetJS: Deep Learning Classification on Browser</h1>
Image URL<input name="imageurl" id="imageURL" type="text"><br>
<h1>MXNetJS: Deep Learning Classification in the Browser</h1>
Image URL <input name="imageurl" id="imageURL" type="text"><br>
Max output <input id="max-output" value="5"></br>
<button onclick="start()">Classify the Image</button>
<p> Because of crossOrigin restriction, not all URL works!</p>
<p> Contribution is more than welcomed</p>
<p> Because of crossOrigin restriction, not all URLs work!</p>
<p> Contributions are more than welcomed</p>
<p> Sample url: <a href="https://raw.githubusercontent.com/dmlc/mxnet.js/master/data/cat.png">https://raw.githubusercontent.com/dmlc/mxnet.js/master/data/cat.png </a></p>
<p> We are using a model called "fast poor",the performance is near AlexNet, but model size is only 7.6MB in JSON format</p>
<p> We are using a model called "fast poor", the performance is near AlexNet, but the model size is only 7.6MB in JSON format</p>
<p> Interestingly, Microsoft Edge and Firefox's performance is 8X better than Chrome (0.6-0.8 vs 6-8 second). </p>
<p> MXNet Code: <a href="https://github.com/dmlc/mxnet"> https://github.com/dmlc/mxnet </a> </p>
<p> MXNet.js Code: <a href="https://github.com/dmlc/mxnet.js"> https://github.com/dmlc/mxnet.js </a> </p>
Expand Down
2 changes: 1 addition & 1 deletion classify_image.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down