DeepLearning-in-the-Browser:直接在浏览器中部署深度学习模型。 包含用于使用Tensorflow.js,WebDNN和ONNX.js进行部署的代码-源码

上传者: 42151772 | 上传时间: 2021-07-09 17:03:33 | 文件大小: 647.73MB | 文件类型: ZIP
浏览器中的深度学习 我尝试了一些用于在浏览器中部署ML模型的框架。 我制作了一个Web应用程序以在Tensorflow.js,WebDNN和ONNX.js中加载和分类图像,并将它们的运行时与不同的后端(WebGL,WASM,CPU)进行了比较。 我还为此写了一篇博客文章,可以与该代码一起作为教程 要求 Node.js(v12 +) 表示 其余的JS库和模型都包含在此存储库中。

文件下载

资源详情

[{"title":"( 64 个子文件 647.73MB ) DeepLearning-in-the-Browser:直接在浏览器中部署深度学习模型。 包含用于使用Tensorflow.js,WebDNN和ONNX.js进行部署的代码-源码","children":[{"title":"DeepLearning-in-the-Browser-main","children":[{"title":".gitignore <span style='color:#111;'> 24B </span>","children":null,"spread":false},{"title":"ONNX","children":[{"title":"package.json <span style='color:#111;'> 316B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 13.95KB </span>","children":null,"spread":false},{"title":"public","children":[{"title":"webdnn.js <span style='color:#111;'> 129.36KB </span>","children":null,"spread":false},{"title":"mobilenetv2-1.0.onnx <span style='color:#111;'> 13.59MB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 4.34KB </span>","children":null,"spread":false},{"title":"dolphin.jpg <span style='color:#111;'> 51.00KB </span>","children":null,"spread":false},{"title":"resnet50_8.onnx <span style='color:#111;'> 97.74MB </span>","children":null,"spread":false},{"title":"index-bak.js <span style='color:#111;'> 3.56KB </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 2.68KB </span>","children":null,"spread":false},{"title":"aeroplane.jpg <span style='color:#111;'> 101.55KB </span>","children":null,"spread":false},{"title":"common","children":[{"title":"ndarray-browser-min.js <span style='color:#111;'> 44.92KB </span>","children":null,"spread":false},{"title":"imagenet.js <span style='color:#111;'> 39.56KB </span>","children":null,"spread":false},{"title":"image-loader.js <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":false},{"title":"flower.jpeg <span style='color:#111;'> 27.12KB </span>","children":null,"spread":false},{"title":"bus_cars.jpg <span style='color:#111;'> 202.59KB </span>","children":null,"spread":false}],"spread":false},{"title":"README.md <span style='color:#111;'> 100B </span>","children":null,"spread":false},{"title":"server.js <span style='color:#111;'> 213B </span>","children":null,"spread":false}],"spread":true},{"title":"WebDNN","children":[{"title":"package.json <span style='color:#111;'> 316B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 13.95KB </span>","children":null,"spread":false},{"title":"public","children":[{"title":"script.js <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"data","children":[{"title":"dolphin.jpg <span style='color:#111;'> 51.00KB </span>","children":null,"spread":false},{"title":"school_bus.jpg <span style='color:#111;'> 83.47KB </span>","children":null,"spread":false},{"title":"imagenet_labels.js <span style='color:#111;'> 24.12KB </span>","children":null,"spread":false}],"spread":true},{"title":"webdnn.js <span style='color:#111;'> 129.36KB </span>","children":null,"spread":false},{"title":"output_keras","children":[{"title":"weight_webassembly.bin <span style='color:#111;'> 97.38MB </span>","children":null,"spread":false},{"title":"kernels_webassembly.cpp <span style='color:#111;'> 32.47KB </span>","children":null,"spread":false},{"title":"weight_webgpu.bin <span style='color:#111;'> 97.38MB </span>","children":null,"spread":false},{"title":"graph_webgpu.json <span style='color:#111;'> 194.99KB </span>","children":null,"spread":false},{"title":"weight_fallback.bin <span style='color:#111;'> 97.48MB </span>","children":null,"spread":false},{"title":"weight_webgl_8192.bin <span style='color:#111;'> 97.41MB </span>","children":null,"spread":false},{"title":"graph_webgl_8192.json <span style='color:#111;'> 2.04MB </span>","children":null,"spread":false},{"title":"graph_webgl_4096.json <span style='color:#111;'> 2.24MB </span>","children":null,"spread":false},{"title":"graph_webgl_16384.json <span style='color:#111;'> 1.97MB </span>","children":null,"spread":false},{"title":"kernels_fallback.js <span style='color:#111;'> 10.50KB </span>","children":null,"spread":false},{"title":"kernels_webgpu.metal <span style='color:#111;'> 60.74KB </span>","children":null,"spread":false},{"title":"graph_fallback.json <span style='color:#111;'> 147.51KB </span>","children":null,"spread":false},{"title":"graph_webassembly.json <span style='color:#111;'> 23.96KB </span>","children":null,"spread":false},{"title":"weight_webgl_4096.bin <span style='color:#111;'> 97.42MB </span>","children":null,"spread":false},{"title":"weight_webgl_16384.bin <span style='color:#111;'> 97.38MB </span>","children":null,"spread":false}],"spread":false},{"title":"dolphin.jpg <span style='color:#111;'> 51.00KB </span>","children":null,"spread":false},{"title":"script.es5.js <span style='color:#111;'> 7.23KB </span>","children":null,"spread":false},{"title":"index.es5.html <span style='color:#111;'> 4.81KB </span>","children":null,"spread":false},{"title":"sample_image2.jpeg <span style='color:#111;'> 83.47KB </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 3.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 102B </span>","children":null,"spread":false},{"title":"server.js <span style='color:#111;'> 213B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 593B </span>","children":null,"spread":false},{"title":"TF","children":[{"title":"package.json <span style='color:#111;'> 283B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 13.95KB </span>","children":null,"spread":false},{"title":"public","children":[{"title":"failed_index_resnet.js <span style='color:#111;'> 6.19KB </span>","children":null,"spread":false},{"title":"webdnn.js <span style='color:#111;'> 129.36KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 5.07KB </span>","children":null,"spread":false},{"title":"dolphin.jpg <span style='color:#111;'> 51.00KB </span>","children":null,"spread":false},{"title":"person.jpg <span style='color:#111;'> 24.86KB </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"common","children":[{"title":"ndarray-browser-min.js <span style='color:#111;'> 44.92KB </span>","children":null,"spread":false},{"title":"imagenet.js <span style='color:#111;'> 39.56KB </span>","children":null,"spread":false},{"title":"image-loader.js <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":false},{"title":"download.jpg <span style='color:#111;'> 4.64KB </span>","children":null,"spread":false},{"title":"imagenet_labels.js <span style='color:#111;'> 29.01KB </span>","children":null,"spread":false},{"title":"flower.jpeg <span style='color:#111;'> 27.12KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 98B </span>","children":null,"spread":false},{"title":"server.js <span style='color:#111;'> 213B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明