intel / webml-polyfill

Deprecated, the Web Neural Network Polyfill project has been moved to https://github.com/webmachinelearning/webnn-polyfill
Apache License 2.0
161 stars 46 forks source link

Add LeNet example based nn v2 API #1334

Closed huningxin closed 3 years ago

huningxin commented 3 years ago

fix #1301

huningxin commented 3 years ago

@BruceDai @ibelem , PTAL. Thanks!

BruceDai commented 3 years ago

@huningxin LGTM, thanks.

huningxin commented 3 years ago

Thanks review and merging.

@ibelem , could you please help publish the example to https://intel.github.io/webml-polyfill/examples/lenet. The weights can be downloaded by referring to https://github.com/intel/webml-polyfill/tree/master/examples/lenet#download-model. Thanks!

ibelem commented 3 years ago

The model has been uploaded to AWS. https://webnnmodel.s3-us-west-2.amazonaws.com/lenet/model/lenet.bin @BruceDai @huningxin It's been published to gh-pages branch, please let me know if any issues.

There is no entry in examples home page for lenet, please let me know if we need to add it BTW.

huningxin commented 3 years ago

The example works perfectly for me. Thanks @belem !

I can refer it by its URL directly for WebML CG discussion. I don't see the need to add entry into home page currently.