model-deployment-flask:为HyperionDev编写的“使用Flask API部署机器学习模型”教程

时间:2021-02-03 06:47:58
【文件属性】:
文件名称:model-deployment-flask:为HyperionDev编写的“使用Flask API部署机器学习模型”教程
文件大小:118KB
文件格式:ZIP
更新时间:2021-02-03 06:47:58
flask scikit-learn svhn model-deployment scikit-learnPython 为编写的教程“使用Flask API部署机器学习模型”的源代码。 在本教程中,我们采用model.py中内置的图像分类模型,该模型可以识别Google Street View门牌号。 使用Flask创建API,我们可以部署此模型并创建一个简单的网页来加载和分类新图像。 要在本地运行: 安装pip和Python 3 克隆此存储库git clone https://github.com/elliebirbeck/model-deployment-flask.git 导航到工作目录cd model-deployment-flask 安装Python依赖项pip install -r requirements.txt 运行API python api.py 打开网络浏览器,然后转到http://localhost:8000
【文件预览】:
model-deployment-flask-master
----test-imgs()
--------test-7.png(2KB)
--------test-8.png(2KB)
--------test-4.png(2KB)
--------test-9.png(2KB)
--------test-6.png(2KB)
--------test-10.png(3KB)
--------test-1.png(2KB)
--------test-3.png(3KB)
--------test-5.png(2KB)
--------test-2.png(2KB)
----templates()
--------index.html(461B)
----screenshot.png(161KB)
----requirements.txt(95B)
----model.py(900B)
----.gitignore(25B)
----api.py(1KB)
----README.md(776B)

网友评论